This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Building Newlib Independently of GCC
- To: jjohnstn at cygnus dot com
- Subject: Re: Building Newlib Independently of GCC
- From: Andrew Stubbs <Andrew dot Stubbs at st dot com>
- Date: Mon, 6 Aug 2001 08:52:18 +0100 (BST)
- Cc: newlib at sources dot redhat dot com
On Sat, 4 Aug 2001 jjohnstn@cygnus.com wrote:
> > Is it possible to build newlib using an existing cross compiler rather
> > than build it at the same time as the cross compiler?
> >
>
> Yes. You simply put the installed cross tools in your path or else override the
> xx_FOR_TARGET variables on the make. Note that unless you install in the
> same install directory as gcc does, gcc won't be able to automatically link in your multilibs
> for you when it compiles/links with multilib options specified.
Thanks, that was pretty much exactly what I was looking for. A few
questions on the deatils though:
How do I get it to do the multilib? Do I just have to configure and build
it multiple times? Or is there some built in support?
TIA
------------------------------------------------------------------------
| Andrew Stubbs, | E-mail: Andrew.Stubbs@st.com |
| STMicroelectronics Ltd., | or stubbsa@bristol.st.com |
| 1000 Aztec West, | |
| Almondsbury, | Tel: +44 (0)1454 462325 |
| Bristol, BS32 4SQ, U.K. | Fax: +44 (0)1454 617910 |
------------------------------------------------------------------------