[csw-maintainers] GARCOMPILER = GNU, C compiler cannot create executables ?

rupert THURNER rupert at opencsw.org
Sat May 15 18:27:40 CEST 2010


serf-0.6.1 (libserf)  did not compile with the solaris compiler so i set

GARCOMPILER = GNU

but  configure seems not to like this at all, the result was, in config.log:

Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: ../gcc-4.3.3/configure --prefix=/opt/csw/gcc4
--exec-prefix=/opt/csw/gcc4 --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls
--with-included-gettext --with-libiconv-prefix=/opt/csw --with-x
--with-mpfr=/opt/csw --with-gmp=/opt/csw --enable-java-awt=xlib
--enable-libada --enable-libssp --enable-objc-gc
--enable-threads=posix --enable-stage1-languages=c
--enable-languages=ada,c,c++,fortran,java,objc
Thread model: posix
gcc version 4.3.3 (GCC)
configure:3331: $? = 0
configure:3338: /opt/csw/gcc4/bin/gcc -V >&5
gcc: '-V' option must have argument
configure:3341: $? = 1
configure:3364: checking for C compiler default output file name
configure:3391: /opt/csw/gcc4/bin/gcc -O2 -pipe -mcpu=v8 -mt
-I/opt/csw/include -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -D_LARGEFILE64_SOURCE -L/opt/csw/gcc4/lib/. -mcpu=v8
-L/opt/csw/lib conftest.c  >&5
cc1: error: unrecognized command line option "-mt"
configure:3394: $? = 1
configure:3432: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3439: error: C compiler cannot create executables
See `config.log' for more details.


More information about the maintainers mailing list