Building a custom front end on x86_64-apple-darwin11.4.0

Ian Lance Taylor iant@google.com
Wed Jun 27 05:41:00 GMT 2012


Josh Reese <jreeseue@gmail.com> writes:

> 13:03@legolas:.+gcc4.7.0/objdir$ make install

> g++ -c  -DGCC_INCLUDE_DIR=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/x86_64-apple-darwin11.4.0/4.7.0/include\" -DFIXED_INCLUDE_DIR=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/x86_64-apple-darwin11.4.0/4.7.0/include-fixed\" -DGPLUSPLUS_INCLUDE_DIR=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/x86_64-apple-darwin11.4.0/4.7.0/../../../../include/c++/4.7.0\" -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=0 -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/x86_64-apple-darwin11.4.0/4.7.0/../../../../include/c++/4.7.0/x86_64-apple-darwin11.4.0\" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/x86_64-apple-darwin11.4.0/4.7.0/../../../../include/c++/4.7.0/backward\" -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" -DCROSS_INCLUDE_DIR=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/x86_64-apple-darwin11.4.0/4.7.0/../../../../x86_64-apple-darwin11.4.0/sys-include\" -DTOOL_INCLUDE_DIR=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/x86_64-apple-darwin11.4.0/4.7.0/../../../../x86_64-apple-darwin11.4.0/include\" -DNATIVE_SYSTEM_HEADER_DIR=\"/usr/include\" -DPREFIX=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/\" -DSTANDARD_EXEC_PREFIX=\"/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/local/lib/gcc/\"  -DBASEVER="\"4.7.0\"" -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../srcdir/gcc -I../../srcdir/gcc/. -I../../srcdir/gcc/../include -I../../srcdir/gcc/../libcpp/include -I/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/objdir/./gmp -I/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/srcdir/gmp -I/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/objdir/./mpfr -I/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/srcdir/mpfr -I/Users/jreese/Documents/school/edinburgh/project/builds/gsc-gcc4.7.0/srcdir/mpc/src  -I../../srcdir/gcc/../libdecnumber -I../../srcdir/gcc/../libdecnumber/dpd -I../libdecnumber    ../../srcdir/gcc/cppbuiltin.c -o cppbuiltin.o
> cc1plus: error: unrecognized command line option "-Wno-narrowing"

make install should not normally run the compiler (I assume you ran make
before running make install).  My first guess would be some sort of
timestamp confusion.

Ian



More information about the Gcc-help mailing list