Subject: RE: Problems compiling on Irix
To: Georg Schwarz <email@example.com>
From: Pangrazio, Robert Thomas (UMR-Student) <firstname.lastname@example.org>
Date: 06/10/2005 11:51:44
I have in my mk.conf file CC=3Dgcc, is this what you mean? I guess I'll
try and download and install the precompiled binaries.=20
From: Georg Schwarz [mailto:email@example.com] On Behalf
Of Georg Schwarz
Sent: Friday, June 10, 2005 11:50 AM
To: Pangrazio, Robert Thomas (UMR-Student)
Subject: Re: Problems compiling on Irix
> I have a SGI Octane running 6.5.22. I have GCC installed from SGI. I
> bootstrap pkgsrc ok, but everytime I try and compile a package I get
> error in the configuration section. It seems that configure is trying
> see if gcc works and passes it an illegal option and the script then=20
> assumes that it cannot create a binary. In the Perl package, it tries
> -64 -woff and "-64" and "-woff" are not recognized by GCC.
> Does any one know how to fix this?
pkgsrc on IRIX by default assumes it is using the SGI cc. You might try
circumventing that by explicitly configuring gcc as the compiler.
But even then I would assume many packages, e.g. perl, silently assuming
the IRIX cc. This has come up here already a few months back, and I am
not aware of any solution having been found.
The appropriate solution in the spitit of buildlink would probably be
the gcc wrapper killing or rewriting these non-gcc options (such as the
other compiler wrappers do just the other way round :-)).
Georg Schwarz http://home.pages.de/~schwarz/
firstname.lastname@example.org +49 178 8545053