Re: How to cross complie c to assembly ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pratya,

Use the -S switch:
gcc -S -fverbose-asm foo.c
g++ -S -fverbose-asm bar.cpp

To see what the available switches are, use:
gcc -v --help

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux