This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


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

Re: Building Newlib Independently of GCC


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


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