Hello,
I upgraded some time ago from solaris 11 express to solaris 11.0.
I have a gcc/gnu installation built from sources in a zone.
I've discovered that trying now to compile doesn't work any longer.
Typically, configure fails with a message seaming to guess that I'm
trying to cross compile without providing a --host option.
I sort of guess this is related to solaris 11 now beeing 64bit only ?
Doesn anyone know how I could recover a working gcc (apart from
installing the ips provided gcc which is gcc-4.5.2 and recompiling my
gcc 4.6.2) ?
Thanks for any hint
Bruno
Example from config.log
configure:5900: checking whether the C compiler works
configure:5922: gcc -I/usr/local/include -L/opt/local/lib
-R/opt/local/lib conftest.c >&5
configure:5926: $? = 0
configure:5975: result: yes
configure:5978: checking for C compiler default output file name
configure:5980: result: a.out
configure:5986: checking for suffix of executables
configure:5993: gcc -o conftest -I/usr/local/include -L/opt/local/lib
-R/opt/local/lib conftest.c >&5
configure:5997: $? = 0
configure:6019: result:
configure:6041: checking whether we are cross compiling
configure:6049: gcc -o conftest -I/usr/local/include -L/opt/local/lib
-R/opt/local/lib conftest.c >&5
conftest.c:17:19: fatal error: stdio.h: No such file or directory
compilation terminated.
configure:6053: $? = 1
configure:6060: ./conftest
./configure[6062]: eval[1]: ./conftest: not found [No such file or
directory]
configure:6064: $? = 127
configure:6071: error: in `/root/data/R-2.14.0':
configure:6073: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org