Subject: Re: pkgsrc, solaris, gcc
To: MLH <mlh@goathill.org>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-pkg
Date: 11/09/2004 11:27:18
On Mon, 8 Nov 2004, MLH wrote:

> with /etc/mk.conf on Solaris for pkgsrc. I can't see that this
> really improved things much, but in conjunction with imake packages,
> it appears to always now fail with these sorts of errors:
>
> cc -c -O -Xc -xF -xcg92  -I. -I../include -I../../include -I../../lib/audio -I../../include -I/usr/pkg/include  -Dsun -Dsparc -DSVR4 -DSYSV    -DINCLUDE_ALLOCA_H -DNASCONFSEARCHPATH=\"/usr/pkg/etc/nas/\"  dispatch.c
> gcc: unrecognized option `-Xc'
> gcc: language cg92 not recognized
> gcc: dispatch.c: linker input file unused because linking not done
> rm -f dixutils.o
>
> Suggestions?

Could you provide some more information? Can you provide an example of a 
package that fails? Perhaps also config.log if it's a configure-based 
package.

-- 
Gillette - the best a man can forget