help!

William A. Gatliff bgat@billgatliff.com
Wed Sep 25 07:35:00 GMT 2002


Martin:

On Wed, Sep 25, 2002 at 01:53:27PM +0800, Martin Bian wrote:
> Hello all, I am a new user of arm-elf-gcc, I compile and link my source file like this:
> 
> arm-elf-gcc -Wamv4t -WaEB -g -D_ASSEMBLER_ boot.S		
> arm-elf-ld -o boot.elf boot.o
> 
> But after compiled and linked, I used  "arm-elf-gdb boot.elf" to debug and found error message:no debugging symbols found. Can someone tell me how I should do? How I set the command line parameter? Thank you.
> 

Add in a -g.


b.g.
-- 
Bill Gatliff
Public embedded GNU and embedded Linux training dates announced!
See http://billgatliff.com for details.

------
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