Thread: Generate asm listing file with CL

  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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > 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.

  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, 05:02 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM