ARM cross compiler

Simpson, Greg gregs@ti.com
Tue Jun 11 08:13:00 GMT 2002


It's probably a good idea to get in the habit of creating a linker file per
board. It'll lead to a better understanding of how the system works, and
long command lines just make it harder for anyone else that may try to
understand what you've done. =)

-g


> -----Original Message-----
> From: Gareth Bransby [mailto:G.C.Bransby-99@student.lboro.ac.uk]
> Sent: Tuesday, June 11, 2002 9:03 AM
> To: Philip Blundell
> Cc: crossgcc@sources.redhat.com
> Subject: Re: ARM cross compiler
> 
> 
> So i could add "-Wl, Ttext 0x40" to the linker command line?
> 
> 
> On 11 Jun 2002 14:06:07 +0100
> Philip Blundell <pb@nexus.co.uk> wrote:
> 
> > On Tue, 2002-06-11 at 13:54, Gareth Bransby wrote:
> > > The entry point of the resulting binary is set to 0x8000 as  
> > > per the ARM default. The question is, how do i set this to lower
> > address?
> > > [...]
> > > Is there a switch i can pass to gcc that will set this value?
> > 
> > It's controlled by the linker script.  You could try "-Wl,-Ttext
> > ..."
> > but I don't know how well that will work.
> > 
> > p.
> > 
> > 
> 
> ------
> Want more information?  See the CrossGCC FAQ, 
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to 
> crossgcc-unsubscribe@sources.redhat.com
> 

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