This is the mail archive of the crossgcc@sources.redhat.com 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] |
Am Fre, 2002-04-26 um 13.34 schrieb Daniel.Andersson@combitechsystems.com: > Hi again, > > First let me explain a little background. I am building a ".a"-library and > shall use it in my project. When i build the ".a" with my native compiler > "g++" then it works fine and i get a output ".a". However, when i use the > ".a" in my project then the linker (cross) complains because it cannot find > things like: "ostream::seekp" "ostream::write" "ostream::seekp". Where are > these streams supposted to be located. Should they be included in the ".a" > or should it be added at the final linkage? > > I tried to compile the ".a" with my cross-compiler" and then i get the > following error from configure: > > ----snip---- > Administrator@CS080112 /e/projekt/elf_reader/ELFIO-0.8.2 > $ ./configure --without-CXX --host=powerpc-eabi --build=i686-pc-cygwin > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets ${MAKE}... yes > checking for powerpc-eabi-strip... powerpc-eabi-strip > checking for powerpc-eabi-g++... powerpc-eabi-g++ > checking for C++ compiler default output... configure: error: C++ compiler > cannot create executables > ----snip---- > > Any ideas why the compiler cannot create executables? Checking the config.log, autoconf should have created in the build directory, will probably tell you what goes wrong. Ralf ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |