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: help!


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


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