Subject: pkgsrc, solaris, gcc
To: None <tech-pkg@netbsd.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 11/08/2004 15:01:36
A recent post suggested using:

USE_PKGSRC_GCC=yes
GCC_REQD?=3

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?

CC=             /usr/pkg/gcc3/bin/gcc
didn't change anything.