This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: CrossGCC FAQ update.


Isn't there a better way to select the necessary libaries rather than editing
soure/config files ?
I thought there might be a configure option to select the appropriate libraries.
Maybe the -cpu (or is that -mcpu) option can be used ?

Brendan Simon.


Jonathan Larmour wrote:

> >  - how do I turn off building all these multilib options when all I need is a
> >    libgcc.a for a single target architecture?
>
> To reduce the number of multilibs, edit the appropriate file commencing with
> "t-" in the relevant subdirectory of gcc/config. For example, the options
> for m68k-elf are in "gcc/config/m68k/t-m68kelf". The macros to change are
> MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_MATCHES and
> MULTILIB_EXCEPTIONS.
>
> >  - how do I disable building all these other libraries I do not need, but
> >    which cause compilation errors sometimes?
>
> The simplest answer is probably just to move them out of the way
> temporarily. Even just renaming them will work, e.g. "mv libstdc++
> libstdc++.foo"
>
> Jifl
> --
> Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
> "I used to have an open mind but || Want a free open source no-royalty RTOS?
>  my brains kept falling out."    || http://sourceware.cygnus.com/ecos
> Help fight spam! http://spam.abuse.net/  These opinions are all my own fault
> _______________________________________________
> New CrossGCC FAQ: http://www.objsw.com/CrossGCC
> _______________________________________________
> To remove yourself from the crossgcc list, send
> mail to crossgcc-request@cygnus.com with the
> text 'unsubscribe' (without the quotes) in the
> body of the message.

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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