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] |
Daniel: Did your powerpc-eabi compiler *really* build successfully? Powerpc-eabi is kinda funny, it requires a little hack (the "-myellowknife" trick) towards the end of the build process in order to build successfully. This is a FAFAQ. :^) Kai has explained this several times, but I didn't get around to putting this into the wiki until a few minutes ago: http://billgatliff.com/twiki/bin/view/Crossgcc/BuildGccPowerpcEabi HTH, b.g. On Fri, Apr 26, 2002 at 01:34:04PM +0200, Daniel.Andersson@combitechsystems.com wrote: > 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? > > Btw, i have built gcc with "--enable-language=c,c++" > > Regards, Daniel > > > >-----Original Message----- > >From: Ralf Corsepius [mailto:corsepiu@faw.uni-ulm.de] > >Sent: den 26 april 2002 11:18 > >To: crossgcc@sources.redhat.com > >Subject: Re: Missing iostreams in powerpc-eabi > > > > > >Am Don, 2002-04-25 um 19.44 schrieb William A. Gatliff: > >> Daniel: > >> > >> > >> Add a -lstdc++ to your gcc command line. > >This is not quite correct. You should use "g++" instead of "gcc" and > >never explicitly specifiy -lstdc++. > > > >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 > > > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > -- Bill Gatliff bgat@billgatliff.com ------ 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] |