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.


Michael Schwingen wrote:
> 
> On Wed, May 05, 1999 at 12:28:07AM +0000, Brendan Simon wrote:
> >
> > I think the library section can be elaborated upon.  What is libiberty ?

It contains some miscellaneous, well, stuff. It tries to fill some of the
gaps that can arise due to platform incompatibilities.

> > Do I need it ?
Yes. 

> > Do I have a choice ?

No. It is required by gcc and others.

> Correct. And:
>  - 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.

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