Subject: Re: CVS commit: pkgsrc/lang/gcc3
To: Masao Uebayashi <>
From: grant beattie <>
List: pkgsrc-changes
Date: 01/07/2003 13:44:39
On Mon, Jan 06, 2003 at 09:42:29AM +0200, Masao Uebayashi wrote:

> XXX Only tested on NetBSD/i386 -current.  Tests on Linux and Solaris
> are very encouraged.

Hmm, on Solaris it appears to want GNU binutils:

/work/obj/lang/gcc3/work.twinkle/gcc-3.2.1/gcc/xgcc -B/work/obj/lang/gcc3/w=
ork.twinkle/gcc-3.2.1/gcc/ -B/usr/pkg/gcc-3.2.1/sparc-sun-solaris/bin/ -B/u=
sr/pkg/gcc-3.2.1/sparc-sun-solaris/lib/ -isystem /usr/pkg/gcc-3.2.1/sparc-s=
un-solaris/include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-proto=
types -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT=
 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname= -Wl,--version-script=3Dlibgcc/./ -o
1   libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ash=
ldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmp=
di2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgc=
c/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_f=
ixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o lib=
gcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_=
fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cach=
e.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_abs=
vsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/.=
/_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o lib=
gcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o l=
ibgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_=
sdiv.o libgcc/./_udivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fd=
e.o libgcc/./unwind-sjlj.o -lc && rm -f && ln -s =
/usr/ccs/bin/ld: illegal option -- -
ld: warning: option -o appears more than once, first setting taken
/usr/ccs/bin/ld: illegal option -- -
/usr/ccs/bin/ld: illegal option -- v

I'll take a closer look at this soon. I wonder why it didn't
properly detect that it's not GNU ld...