This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File with source code & assembler


On Tuesday 03 June 2003 11:15 am, Mateo Garcia, Carlos wrote:
> Hi,
>
> I have an output file in XCOFF format for PowerPC.
> I have a map file in where I can see the location of each function, but
> when my code crashes, I cannot know where exactly in a function it crashed.
> Is there a way to generate a text file with the source files mixed with the
> assembler code generated by the compiler?
>
> Thanks in advance,

Try something like this:

gcc -c -g -O2 -Wa,-ahl=x.lis x.c

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


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