Subject: Re: Still a challenge: pkgsrc on IRIX 6.5
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Timo Schoeler <wanker4freedom@web.de>
List: netbsd-help
Date: 03/25/2005 12:23:32
>> a short note on my environment:
>>
>> IRIX 6.5.25m and gcc, make, binutils etc. installed from
>> freeware.sgi.com
>
> I am note sure, but it might be that pkgsrc on IRIX is configured to
> assume
> MIPSpro cc.
but (as even jan schaumann said) it _should_ run with gcc.
bootstrapping with gcc works, and gcc works for other souces, too (as
already said, i build OpenSSL and OpenSSH4 'just for fun' to prove the
compiler works)...
>> -L/usr/pkg/lib) works... no
>> configure: error: installation or configuration problem: C compiler
>> cannot create executables.
>> *** Error code 1
>
> what does config.log say?
[*] /usr/pkgsrc/devel/patch/work/.wrapper/bin/cc -o conftest -O2
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c
(wrapper.sh) append args: -mabi=n32
(arg-source) push: -o
(arg-source) push: conftest
(arg-source) push: -O2
(arg-source) push: -Wl,-R/usr/pkg/lib
(arg-source) push: -L/usr/pkg/lib
(arg-source) push: conftest.c
(arg-source) push: -mabi=n32
(logic) pop: -o
(logic) push: -o
(logic) pop: conftest
(logic) push: conftest [skipped]
(logic) pop: -O2
(logic) push: -O2
(logic) pop: -Wl,-R/usr/pkg/lib
(logic) push: -Wl,-R/usr/pkg/lib
(logic) pop: -L/usr/pkg/lib
(logic) push: -L/usr/pkg/lib
(logic) pop: conftest.c
(logic) to: conftest.c [untransformed]
(logic) push: conftest.c
(logic) pop: -mabi=n32
(logic) push: -mabi=n32
(cmd-sink) pop: -o
(cmd-sink) pop: conftest
(cmd-sink) pop: -O2
(cmd-sink) pop: -Wl,-R/usr/pkg/lib
(cmd-sink) pop: -L/usr/pkg/lib
(cmd-sink) pop: conftest.c
(cmd-sink) pop: -mabi=n32
<.> /usr/bin/cc -o conftest -O2 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
conftest.c -mabi=n32
jan schaumann said that isn't understood by gcc. i'll receive my
MIPSPro licenses in a few days, but i'd like to be able to use gcc,
too.
cheers,
--
Timo Schoeler | http://macfinity.net/~tis
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196 90B2 EF68 C851 6E12 2D8A
There are 10 types of people in the world. Those who understand binary
and those who don't.