Generate asm listing file with CL

This is a discussion on Generate asm listing file with CL within the C Programming forums, part of the General Programming Boards category; Hi, I am using visual studio 2008 and I want to generate a listing file for a project with multiple ...

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    81

    Generate asm listing file with CL

    Hi, I am using visual studio 2008 and I want to generate a listing file for a project with multiple source files. Can this be done?

    I have tried the /Fa option and here is the error I got:

    cl : Command line error D8036 : '/FaTest.asm' not allowed with multiple source files

    Thanks!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    > not allowed with multiple source files
    So compile just one source file then

    IIRC, if you just "/Fa" without a filename, it will generate a .asm for each .c on the command line.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    81
    oh.

    thanks for your help!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  3. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  4. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21