Subject: Re: Problems compiling on Irix
To: Robert Thomas Pangrazio <>
From: Georg Schwarz <>
List: pkgsrc-bugs
Date: 06/10/2005 18:50:09
> I have a SGI Octane running 6.5.22. I have GCC installed from SGI. I can 
> bootstrap pkgsrc ok, but everytime I try and compile a package I get an 
> error in the configuration section. It seems that configure is trying to 
> see if gcc works and passes it an illegal option and the script then 
> assumes that it cannot create a binary. In the Perl package, it tries gcc 
> -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  +49 178 8545053