This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: [PATCH] Current CVS refuses to build under IRIX 6.5
- To: Gilles Zunino <Gilles.Zunino@hei.fupl.asso.fr>
- Subject: Re: [PATCH] Current CVS refuses to build under IRIX 6.5
- From: Gabriel Dos_Reis <Gabriel.Dos_Reis@sophia.inria.fr>
- Date: 25 Jun 1999 16:35:56 +0200
- Cc: libstdc++@sourceware.cygnus.com
- Organization: I.N.R.I.A Sophia-Antipolis (France)
- References: <37735D77.C768412A@hei.fupl.asso.fr>
Gilles Zunino <Gilles.Zunino@hei.fupl.asso.fr> writes:
| Hi,
|
| The current snapshot fails to build under IRIX 6.5.
| The build process emits link errors when building
| "gen-num-limits". Since the numeric limits are not
| fully generated, the next part of the build fails
| badly. Errors messages when building "gen-num-limits"
| are :
[...]
| After investigating this, I noticed that the flags given
| to the compiler are (among others) : -nodefaultlibs -lc -lgcc
|
| The order of the libraries on the command line is very
| important for IRIX linker and it appears that passing
| -lgcc before -lc fixes the problem :-(
| It is very strange, but what can we do !
|
| So, Here is a patch against the current CVS to make
| libstdc++ build under IRIX. I was able to compile the
| lib successfully.
|
|
| Changelog :
|
| 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
|
| * mknumeric_limits: Swap order of -lc and -lgcc in
| definition of LDFLAGS.
Gilles --
Thanks for your patch. Installed.
-- Gaby