[uClibc] What about a C++ compiler?

Erik Andersen andersen at codepoet.org
Tue Mar 30 06:17:06 UTC 2004


On Mon Mar 29, 2004 at 06:55:51PM +0200, Federico Munerotto wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I was trying exceptions in the buildroot with a simple sample program
> (10 lines, hello.cpp) but compiling in the buildroot I get::
> 
> # g++ -o hello hello.cpp
> /bin/sh: g++: not found
> 
> I think that I have to add something to the builroot's Makefile to
> dowmload and compile the g++ in the builroot. How do I do that? Is it
> enogh if I compile in the buildroot dir as an application?

Make sure that you have
	GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
	INSTALL_LIBSTDCPP:=true
and also make sure that
	TARGETS+=gcc3_3_target
is set.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list