That was a fast answer, Jörg, thanks. Seems that my dev environment is totally screwed up; I'll google around as I don't remember how I've set it up last time (it's a brand new box I'm working on).
I tried as you said : CC="cc -m64" ./configure CFLAGS=-m=m64 --prefix=/tools/apache2 --enable-mods-shared=most --enable-cache --enable-substitute --enable-log-forensic --enable-logio --enable-mime-magic --enable-usertrack --enable-http --enable-info --enable-vhost-alias --enable-imagemap --enable-rewrite --enable-so And got : checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i386-pc-solaris2.11 checking host system type... i386-pc-solaris2.11 checking target system type... i386-pc-solaris2.11 Configuring Apache Portable Runtime library ... checking for APR... yes setting CPP to "cc -m32 -E" setting CPPFLAGS to " -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -mt -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" setting LDFLAGS to " " Configuring Apache Portable Runtime Utility library... checking for APR-util... yes adding "-L/wd/builds/sfw/proto/root_i386/usr/lib" to LDFLAGS checking for gcc... cc -m64 checking whether the C compiler works... no configure: error: in `/tools/httpd-2.2.16': configure: error: C compiler cannot create executables See `config.log' for more details. I seem to remember that it has to do with how your PATH is configured. I thought I had mine properly set up : [15:59:12|r...@oslo:httpd-2.2.16] echo $PATH /usr/ccs/bin:/opt/sunstudio12.1/bin:/usr/sfw/bin:/usr/gnu/bin:/opt/csw/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin:/root/bin Might be missing something. I'll take a look during the week-end. Thanks for your help ! -- Jeff -- This message posted from opensolaris.org _______________________________________________ tools-compilers mailing list [email protected]
