id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 22191,gnat-gcc 4.4.1 configure: error: C compiler cannot create executables,rperrot@…,krischik@…,"Hi, I'm trying to install gnat-gcc using gnat-gpl variant and it ends with that error : ""configure: error: C compiler cannot create executables"" here s an extract of config.log : {{{ configure:3280: $? = 0 configure:3282: /opt/gnat-2009-x86_64-apple-darwin9.6.0-bin/bin/gcc -v &5 Using built-in specs. Target: x86_64-apple-darwin9.6.0 Configured with: /lensk.a/gnatmail/release-gpl/build-lensk/src/configure --prefix=/usr/local/gnat --with-build-time-tools=/lensk.a/gnatmail/release-gpl/build-lensk/obj --with-gmp=/lensk.a/gnatmail/release-gpl/build-lensk/libmpfr/install --with-mpfr=/lensk.a/gnatmail/release-gpl/build-lensk/libmpfr/install --build=x86_64-apple-darwin9.6.0 --enable-languages=c,ada --disable-nls --without-libiconv-prefix --disable-libada --enable-checking=release --with-bugurl=URL:mailto:report@adacore.com Thread model: posix gcc version 4.3.4 20090511 for GNAT GPL 2009 (20090511) (GCC) configure:3285: $? = 0 configure:3287: /opt/gnat-2009-x86_64-apple-darwin9.6.0-bin/bin/gcc -V &5 gcc: '-V' option must have argument configure:3290: $? = 1 configure:3313: checking for C compiler default output file name configure:3316: /opt/gnat-2009-x86_64-apple-darwin9.6.0-bin/bin/gcc -O2 -arch i386 -I/opt/local/include -L/opt/local/lib conftest.c >&5 cc1: error: unrecognized command line option ""-arch"" configure:3319: $? = 1 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:3357: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_lang_gnat-gcc/work/build': configure:3360: error: C compiler cannot create executables See `config.log' for more details. }}} I think the problem is the -arch option that cause this issue. Is there a way of turning-off that option ? ",defect,closed,Low,,ports,1.8.0,wontfix,,,gnat-gcc