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]

Re: undefined reference to C++ constructs in libppl when linking cc1-dummy.exe


Hi,

On Tue, Aug 31, 2010 at 7:38 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
>> I have included the relevant error from
>> the log.
>
>> The complete log is here: http://pastebin.com/Ugsy55a5
>> ? ? ? 1. 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++ -lm -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 rs6000-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/opt/x-tools/targets/powerpc-860-linux-uclibc/build/static/lib -lcloog
>> -L/opt/x-tools/targets/powerpc-860-linux-uclibc/build/static/lib -lppl_c -lppl
>> -lgmpxx ?-L/opt/x-tools/targets/powerpc-860-linux-uclibc/build/static/lib
>> -L/opt/x-tools/targets/powerpc-860-linux-uclibc/build/static/lib -lmpfr -lgmp
>
> -lstdc++ is missing... :-(
no, it is not, have a look to the argument after "-DHAVE_CONFIG_H".

 - Arnaud

--
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]