Dave wrote:
> Oscar del Rio wrote:
>> It built without errors in Nevada b90.
>>
>> SunOS 5.11 snv_90 i86pc i386 i86pc Solaris
>> % /opt/local/bin/gcc -v
>> Using built-in specs.
>> Target: i386-pc-solaris2.11
>> Configured with: ../configure --prefix=/opt/local
>> --with-local-prefix=/opt/local --enable-languages=c,c++,fortran
>> --with-gmp=/opt/local --with-mpfr=/opt/local --with-gnu-as
>> --with-as=/usr/sfw/bin/gas
>> Thread model: posix
>> gcc version 4.3.1 (GCC)
> I was going to upgrade to b90 tommorow anyway, so I will wait until
> then. At which point i will try your suggestion. You have /usr/gnu as
> the first item in your path, but what is in there? I assume that
not much really
/usr/gnu/bin:
basename cat chgrp chmod chown chroot cksum cmp comm cp csplit cut date
dd df diff diff3 dirname du echo egrep env expand expr factor false
fgrep fmt fold grep groups head hostid hostname id join kill link ln
logname ls m4 make mkdir mkfifo mknod mv nice nl nohup od paste patch
pathchk
pr printf pwd rm rmdir sdiff sh sleep sort split stty sum sync
tail tar tee test touch tr true tsort tty uname unexpand uniq unlink
uptime wc which who whoami yes
> whatever version of gcc you use is in there. What version of gcc are you
> compiling with? I've tired a 2.x, and 3.x and a 4.x, and got nowhere
> with any of them.
Sun's /usr/sfw/bin/gcc
gcc version 3.4.3 (csl-sol210-3_4-20050802)
> I noticed you are using the GNU assembler. From what I understood from
> others, it was better to use the Sun linker and assembler - that is the
> way Blastwave builds it, and I think Sunfreeware too.
The build fails miserably without GNU assembler.
Sun's gcc also uses "gas"
> /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld
--enable-languages=c,c++,f77,objc --enable-shared