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]

Re: base adress arm board


> hi,
> 
> when changing the base adress in the ldscripts,
> it seems not to interest the compiler / linker.
> i build an arm-elf toolchain, and it works - 
> except that the base adress is locked to 0x8000
> and my board needs it at 0x02000000. so i tried
> the -tText optin but this is unrecognized by gcc.
> so i changed the ldscripty - but that changed nothing.
> so how can i say the gcc it should compile to 
> base adress 0x02000000 ??

You need to pass -tText to the linker, no the compiler.  Gcc can do this 
with the -Wl option.  See the documentation for details of how to do this.

R.



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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