This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Mixed assembly listing


I am using "-Wa,-alhs" option to the gcc compiler to get a mixed (c and
assembly) assembly listing, but it is only generating an assembly listing!
Anyone know how to get a mixed listing?

I am using the command below in a DOS batch file to get the listing.

ccsh -BC:\Tornado/host/x86-win32/lib/gcc-lib/ -c -m2 -ansi -nostdinc -O
-fvolatile -fno-builtin -Wall -I/h -I../include -I../diag  -I.
-IC:\Tornado\target\config\all -IC:\Tornado\target/h
-IC:\Tornado\target/src/config -IC:\Tornado\target/src/drv  -I..\nav
-I..\comms -I..\tp -I..\h -I..\core -I..\core\lg -I..\core\ms -I..\core\mt
-I..\core\ne -I..\core\ot -I..\core\rm -I..\..\evb7043 -DCPU=SH7040
-DRTOS=VXWORKS -DkUseCompilerDefine=1 -Wa,-alhs -o %1.o %1.c >> %1.lst


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]