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: gcc 3 /c++ on arm



Hi Andy,

I don't know if it's the most efficient way, but what I did was to do a
seek and replace of all instances of "-g " with "-gstabs " at the
various points where the configure scripts for gcc, newlib, and
libstdc++ set up the CFLAGS macro.

Andy


andy@softbook.com wrote:
> 
> Andy, maybe you could share your experiences in setting up gcc 3 /c++ on arm
> What did you do to avoid the link errors ?
> Where did you add the -gstabs flag
> Thx
> Andy
> 
> >Richard Earnshaw wrote:
> >> You have to force the compiler build to use -gstabs when building the C++
> >> libraries; it's not enough to do this when just compiling your application.
> 
> >> R.
> ><homer>Doh !</homer>
> >It now links successfully.
> >Thanks,
> >Andy
> >

-- 
Andy Parker                       Oxford Semiconductor Ltd
Tel: +44 (0) 1235 824 944         25 Milton Park, Abingdon,
Fax: +44 (0) 1235 821 141         Oxfordshire. OX14 4SH 
andy.parker@oxsemi.com            http://www.oxsemi.com

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