From mboxrd@z Thu Jan 1 00:00:00 1970 From: MikeW Date: Wed, 29 Nov 2006 17:45:52 +0000 (UTC) Subject: [Buildroot] problem generating c++ compiler for target arch References: <33335.80.176.236.13.1164224678.squirrel@mail.primefarm.co.uk> <20061122200213.GB1863@aon.at> <33446.80.176.236.13.1164226145.squirrel@mail.primefarm.co.uk> <20061122201834.GD1863@aon.at> <33518.80.176.236.13.1164226860.squirrel@mail.primefarm.co.uk> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net writes: > > OK, > > I managed to get buildroot to complete the build at last. Sadly, the c++ > compiler is b0rked. > > Looks like it's missing all sorts of libraries and things. Here is some > sample output trying to compile a very simple program (C++ hello world): > > david tulip:~/buildroot/build_arm/staging_dir/bin$ ./arm-linux-gcc foo.cpp > /tmp/ccNH0d2c.o: In function `std::__verify_grouping(char const*, unsigned > int, std::basic_string, std::allocator > > const&)': > foo.cpp:(.text+0x20): undefined reference to `std::basic_string std::char_traits, std::allocator >::size() const' > foo.cpp:(.text+0x98): undefined reference to `std::basic_string std::char_traits, std::allocator >::operator[](unsigned int) > const' ... > > All sorts of things missing there - have I inadvertantly broken lots of > buildroot? > > David > Did you specify libstdc++ in your menuconfig ? MikeW xxxgmane-paddingxxxxxxgmane-paddingxxxxxxgmane-paddingxxxxxxgmane-paddingxxx xxxgmane-paddingxxxxxxgmane-paddingxxxxxxgmane-paddingxxxxxxgmane-paddingxxx