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!


Yves:

On Wed, Sep 25, 2002 at 03:38:17PM +0100, Yves Rutschle wrote:
> On Wed, Sep 25, 2002 at 09:35:24AM -0500, William A. Gatliff wrote:
> > > arm-elf-gcc -Wamv4t -WaEB -g -D_ASSEMBLER_ boot.S		
> > > arm-elf-ld -o boot.elf boot.o
> > > 
> > Add in a -g.
> 
> I was going to answer that but after checking:
> 
> man ld:
> 
> ----------snip
>        -g     Accepted, but ignored; provided for
> compatibility with other tools.
> ----------snip
> 
> 
> Is the manpage wrong?


Oops, shame on me for not reading the original posting correctly...

Ok, what do the following commands yield:

$ arm-elf-objdump --symbols boot.elf
$ arm-elf-objdump --symbols boot.o

Also,

$ arm-elf-gcc -o boot.elf -Wa,-EB -Wa,-marm4t -g boot.S
$ arm-elf-objdump --symbols boot.elf



b.g.
-- 
Bill Gatliff
Real embedded GNU and embedded Linux training is available.
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]