/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf/usr/bin/make -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/cppapplication_1mkdir -p build/Debug/GNU-MacOSXrm -f build/Debug/GNU-MacOSX/main.o.dg++ -arch i386 -c -g -MMD -MP -MF build/Debug/GNU-MacOSX/main.o.d -o build/Debug/GNU-MacOSX/main.o main.cppcc1plus: error: unrecognized command line option "-arch"make[2]: *** [build/Debug/GNU-MacOSX/main.o] Error 1make[1]: *** [.build-conf] Error 2make: *** [.build-impl] Error 2BUILD FAILED (exit value 2, total time: 311ms)simpatico$ g++ -vUsing built-in specs.COLLECT_GCC=g++COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin10/4.5.1/lto-wrapperTarget: x86_64-apple-darwin10Configured with: ../gcc-4.5.1/configure --prefix=/opt/local --build=x86_64-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable-multilib --enable-fully-dynamic-stringThread model: posixgcc version 4.5.1 (GCC)
This simple of a file:
#include <stdlib.h>int main(int argc, char** argv) { return (EXIT_SUCCESS);}