newlib does not pick up the right cross-compiling gcc
Howland Craig D (Craig)
howland@LGSInnovations.com
Tue Feb 9 20:07:00 GMT 2010
I don't see -g in either of the given compiler lines.
-----Original Message-----
From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org]
On Behalf Of Josef Wolf
Sent: Monday, February 08, 2010 7:49 AM
To: newlib@sourceware.org
Subject: Re: newlib does not pick up the right cross-compiling gcc
...
One more problem: although I compile/link with -g, objcopy tells me that
no
debugging information is available:
m68k-unknown-elf-gcc -ansi -pedantic -Wall -Wcast-align
-Wstrict-prototypes \
-Wmissing-prototypes -std=c89 -O2 -m68332 -msoft-float -c -o hello.o
hello.c
m68k-unknown-elf-gcc -nostartfiles -Wl,--cref
-Wl,-Ttext=0,--entry=entry \
-Wl,--oformat,elf32-m68k -Wl,--cref,-Map,hello.map \
-Wl,-T,ldscript -ansi -pedantic -Wall -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes -std=c89 -O2 -m68332 \
-o hello.elf hello.o -lc
m68k-unknown-elf-objcopy -O ieee --debugging hello.elf hello.ieee
m68k-unknown-elf-objcopy: hello.elf: no recognized debugging
information
More information about the Newlib
mailing list