On 9/19/2010 17:50, Ruben Van Boxem wrote: > Hi, > > When I try to build GCC with ppl/cloog-ppl for the Graphite optimization > framework, bootstrap fails with undefined references in ppl_c.a to libstdc++ > symbols (quite logical, because ppl is written in c++...). How can I solve > this? Is it impossible to build bootstrap GCC with Graphite or is there > something I'm missing. > > I had the same problem with cloog-ppl, because it also links to ppl, I added > an "-lstdc++" LIBS entry in the configure script, which got rid of the > error. This seems hacky at best, and I don't dare do something like that in > GCC. > > I have built every prereq lib statically (gmp (with --enable-cxx), mpfr, > mpc, ppl, cloog-ppl, with above modification), and ppl_c.a is giving me > trouble when trying to link gcc itself... > > The build script I made myself is attached. > > Thanks! > > Ruben > > >
Hi, --with-host-libstdcxx is used exactly for that. Usually "--with-host-libstdcxx=-lstdc++". ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
