PowerPC linking error messages
David Dyck
dcd@tc.fluke.com
Tue Feb 5 08:54:00 GMT 2002
On Tue, 5 Feb 2002 at 16:44 -0000, David Korn <dkorn@pixelpower.com> wrote:
> >-----Original Message-----
> >From: eddy@fericom.net [mailto:eddy@fericom.net]
> >Sent: 04 February 2002 19:29
>
>
> Hi again Eddy!
>
>
> >- I use the -S option with GCC to learn about the confusing guts of RISC
> > assembler. Is there an option to GCC to add the C lines that produced the
> > assembler as comments? I only found -fverbose-asm but that didn't do.
>
> Yes, the compiler doesn't seem to have any way to do this. The best
> option is to build your code using -g and -O0, then use objdump like:
>
> powerpc-eabi-objdump -SD <.o file name>
>
> to get a listing back.
I'm basically a lurker using the old mc68k cross tools, but
I add the following flags to the gcc compile options to generate a
mixed source and assembly listing - does this help?
-Wa,-adhln,-L -g -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
More information about the crossgcc
mailing list