This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: [PATCH] Current CVS refuses to build under IRIX 6.5


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

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