This is the mail archive of the newlib@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] PR other/32154


On Sat, Jun 23, 2007 at 12:09:30PM +0200, Rask Ingemann Lambertsen wrote:
> On Sat, Jun 23, 2007 at 09:18:12AM +0100, Richard Sandiford wrote:
> 
> > Right.  The model used in libstdc++ is that this sort of link test
> > does not need to work for newlib targets; if we can't link a trivial
> > program, --with-newlib causes tests for C library functons to fall
> > back to known-good values.
> 
>    It doesn't work that way (any more). If your linker exits with a non-zero
> exit code linking a trivial program, then libstdc++ fails to configure. It
> was like this four years ago also, see bug 12019.

No, Richard is mostly right.  --with-newlib avoids link tests.  So do
various target triplets.


-- 
Daniel Jacobowitz
CodeSourcery


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