[uClibc] how to enable c++ compiler using buildroot?

tian tao tiantao1982 at hotmail.com
Fri Oct 29 03:45:04 UTC 2004


the further information is when i check arm-linux-gcc -v:
Reading specs from 
/usr/src/buildroot2/build_arm/staging_dir/bin-ccache/../lib/gcc/
lib/arm-linux-uclibc/3.3.4/specs
Configured with: 
/usr/src/buildroot2/toolchain_build_arm/gcc-3.3.4/configure --pref
ix=/usr/src/buildroot2/build_arm/staging_dir --build=i386-pc-linux-gnu 
--host=i386
pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c --enable-shared 
--disab
le-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls 
--enable-sjlj
exceptions
Thread model: posix
gcc version 3.3.4


>From: "tian tao" <tiantao1982 at hotmail.com>
>To: uClibc at uclibc.org, gkajmowi at tbaytel.net
>Subject: Re: [uClibc] how to enable c++ compiler using buildroot?
>Date: Fri, 29 Oct 2004 03:07:43 +0000
>
>I checked the /usr/src/buildroot2/build_arm/staging_dir/bin
>there's only a file called arm-linux-c++filt
>but I knows I have make menuconfig to enable the c++ compile in it. 
>except that, what other things should I do, put libstdc++.tar.gz in 
>the sources/dl directory?
>btw: I am compiling the toolchain with buildroot
>Thanks
>
>
>>From: "tian tao" <tiantao1982 at hotmail.com>
>>To: gkajmowi at tbaytel.net, uClibc at uclibc.org
>>Subject: Re: [uClibc] how to enable c++ compiler using buildroot?
>>Date: Fri, 29 Oct 2004 02:49:48 +0000
>>
>>Thank you, when I compiled a project. It reports checking for 
>>c++... /usr/src/buildroot2/build_arm/staging_dir/bin/arm-linux-c++
>>checking whether the C++ compiler 
>>(/usr/src/buildroot2/build_arm/staging_dir/bin/ar
>>m-linux-c++  ) works... no
>>what's the problem? I've enabled the libstdc++. Thank you
>>
>>>From: Garrett Kajmowicz <gkajmowi at tbaytel.net>
>>>Reply-To: gkajmowi at tbaytel.net
>>>To: uclibc at uclibc.org
>>>Subject: Re: [uClibc] how to enable c++ compiler using buildroot?
>>>Date: Thu, 28 Oct 2004 15:07:10 -0400
>>>
>>>On October 28, 2004 09:40 am, tian tao wrote:
>>> > Hi all,
>>> >    I have build a uclibc toolchain for arm-linux successfully 
>>>with
>>> > buildroot. My method is copy the sources tarball in the 
>>>directory
>>> > sources/dl, and compile locally. But when I make menuconfig and 
>>>add the
>>c++
>>> > support. It fails when I compile.
>>> >    I guess I must require a tarball in the sources/dl. Can any 
>>>one tell
>>me
>>> > I should download which tarball to enable the c++ compiling? 
>>>Thank you.
>>> > btw: I set the gcc version is 3.3.4. Thanx:)
>>>
>>>
>>>Are you referring to the GNU libstdc++ support or the uClibc++ 
>>>support?
>>The
>>>uClibc++ library requires the GNU library to be installed for it 
>>>to be
>>built
>>>(then you can discard it).  Actually, it just needs the 
>>>libsupc++.a file,
>>but
>>>you get the idea.
>>>
>>>- Garrett Kajmowicz
>>>_______________________________________________
>>>uClibc mailing list
>>>uClibc at uclibc.org
>>>http://uclibc.org/mailman/listinfo/uclibc
>>
>>_________________________________________________________________
>>享用世界上最大的电子邮件系统― MSN Hotmail。  
>>http://www.hotmail.com
>>
>>_______________________________________________
>>uClibc mailing list
>>uClibc at uclibc.org
>>http://uclibc.org/mailman/listinfo/uclibc
>
>_________________________________________________________________
>与联机的朋友进行交流,请使用 MSN Messenger:  
>http://messenger.msn.com/cn
>
>_______________________________________________
>uClibc mailing list
>uClibc at uclibc.org
>http://uclibc.org/mailman/listinfo/uclibc

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  




More information about the uClibc mailing list