This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I have now managed to get most of my toolchain to compile under Mac OS X, however I'm now getting an error when the gcc is being built and installed: [INFO ] Installing static core C compiler [ERROR] make[2]: *** [cc1-dummy] Error 1 [ERROR] make[1]: *** [all-gcc] Error 2 This leads to other errors occurring: [INFO ] Installing shared core C compiler [ERROR] make[2]: *** [cc1-dummy] Error 1 [ERROR] make[1]: *** [all-gcc] Error 2 [INFO ] ================================================================= [INFO ] Installing C library [ERROR] Linux version is unavailable in installed headers files [INFO ] ================================================================= [INFO ] Installing final compiler [ERROR] make[3]: *** [cc1-dummy] Error 1 [ERROR] make[3]: *** [cc1plus-dummy] Error 1 [ERROR] make[2]: *** [all-gcc] Error 2 [ERROR] make[1]: *** [all] Error 2 [INFO ] ================================================================= [INFO ] Installing cross-gdb [ERROR] configure: error: in `/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/build-gdb-cross': [ERROR] configure: error: C compiler cannot create executables According the build.log, this seems to be caused by the -Bstatic option being passed to ld. [ALL ] x86_64-build_apple-darwin11.2.0-gcc -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o arm-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -lcloog -L/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -lppl_c -lppl -lgmpxx -static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -L/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -lmpfr -lgmp [ALL ] ld: unknown option: -Bstatic [ALL ] collect2: ld returned 1 exit status -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |