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] |
On 2010-07-15 13:40, Mastrambo wrote: > I got an error tring to build the i686-nptl-linux-gnu sample > configuration on Cygwin. > > Attached, you can find the crosstool-ng log file. > > On cygwin shell, uname -a returned > > CYGWIN_NT-5.1 SSDLDT235 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin > > Moreover, cygwin binutils version is 2.20.51 and gcc version is 4.3.4. > > I'm a a cross-compiling newbie... can anyone help me working it out? Looks like you are linking C++ libraries with gcc here: [ALL ] i686-build_pc-cygwin-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 -lstdc++ -Wl,--stack,8388608 -o cc1-dummy.exe 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 i386-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 ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/paolo.mastrapasqua/xworkspace/targets/i686-nptl-linux-gnu/build/static/lib -lcloog -L/home/paolo.mastrapasqua/xworkspace/targets/i686-nptl-linux-gnu/build/static/lib -lppl_ c -lppl -lgmpxx -L/home/paolo.mastrapasqua/xworkspace/targets/i686-nptl-linux-gnu/build/static/lib -L/home/paolo.mastrapasqua/xworkspace/targets/i686-nptl-linux-gnu/build/static/lib -lmpfr -lgmp [ALL ] /home/paolo.mastrapasqua/xworkspace/targets/i686-nptl-linux-gnu/build/static/lib/libppl_c.a(ppl_c_BD_Shape_mpz_class.o):ppl_c_BD_Shape_mpz_class.cc:(.text+0xf6): undefined reference to `___cxa_begin_catch' You should use "i686-build_pc-cygwin-g++" instead, or explicitly add -lstdc++ to the LDLIBS. -- 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] |