Mixed assembly listing
Doug Evans
dje@transmeta.com
Sat Apr 1 00:00:00 GMT 2000
Teri McManus writes:
> 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
You also have to pass -g to gcc (in addition to -Wa,-alhs).
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list