Subject: Re: Still a challenge: pkgsrc on IRIX 6.5
To: Jan Schaumann <jschauma@netmeister.org>
From: Timo Schoeler <wanker4freedom@web.de>
List: netbsd-help
Date: 03/25/2005 10:08:54
>> checking for gcc... cc
>> checking whether the C compiler (cc -O2  -Wl,-R/usr/pkg/lib
>> -L/usr/pkg/lib) works... no
>> configure: error: installation or configuration problem: C compiler
>> cannot create executables.
>
> Look at config.log and see what the exact problem is the compiler
> stumbles over.
>
>> <.> /usr/bin/cc -o conftest -O2 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
>> conftest.c -mabi=n32
>>
>> hm, nothing special in here...?
>
> Well, actually, "-mabi-n32" is not a valid flag for the mipspro
> compiler.

but i'm still using gcc... (in the next few days my MIPSPro license 
should arrive.)

>> my mk.conf is nearly as bootstrapping built it:
>>
>> .ifdef BSD_PKG_MK       # begin pkgsrc settings
>>
>> OPSYS=IRIX
>> ABI=32
>> PKG_DBDIR=/var/db/pkg
>> LOCALBASE=/usr/pkg
>> FETCH_CMD=/usr/pkg/bin/ftp
>> PAX=/usr/pkg/bin/pax
>> SED=/usr/pkg/bin/nbsed
>> IMAKEOPTS+=-DBuildN32 -DSgiISA32=4
>>
>> GCC_REQD=3.4
>>
>> .endif                  # end pkgsrc settings
>
> Add
>
> PKGSRC_COMPILER=mipspro
>
> That will probably fix the immediate problem.  I'll make sure that this
> gets noted somewhere during the bootstrap process.

okay, so PKGSRC_COMPILER=gcc is *not* the default value and should be 
set manually?

regards,

timo