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]

Re: Missing iostreams in powerpc-eabi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]