Missing iostreams in powerpc-eabi

William A. Gatliff bgat@billgatliff.com
Thu Apr 25 10:44:00 GMT 2002


Daniel:


Add a -lstdc++ to your gcc command line.

Did you build libstdc++?  You don't get it unless you did
"--enable-languages=c,c++" when you built gcc.


b.g.

On Thu, Apr 25, 2002 at 07:06:13PM +0200, Daniel.Andersson@combitechsystems.com wrote:
> Hi,
> 
> I have an application that i want to compile using my powerpc-eabi compiler.
> However, i get a lot of undefined reference to every use of stream like:
> ostream, fstream, istream, ios etc
> 
> Why hasn't these streams been included in my cross compiler. Do i have to
> rebuild it with some special argument?
> 
> Regards, Daniel
> 
> ------
> 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



More information about the crossgcc mailing list