[uClinux-dev] How to build STLport on uClinux?

Darwin Chen PStudio at 21cn.com
Wed Feb 28 19:33:28 EST 2007


The toolchains is build by build-uclinux-tools.sh which downloaded from
uClinux site, I just modify the TARGET, KERNL,remove the following line =
from
gcc-3.4.3/gcc/config/arm/t-arm-elf because my arm board doesn't support
big-endian:
MULTILIB_OPTIONS+=3D mbig-endian

I remove the num_get_float.cpp and num_put_float.cpp from STLport source
trees and rebuilt STLport again, I got a library named libstdc++.a in
STLport/lib. I don't know what's limited in STLport without =
num_get_float
and num_put_float.
=20
-----=D3=CA=BC=FE=D4=AD=BC=FE-----
=B7=A2=BC=FE=C8=CB: uclinux-dev-bounces at uclinux.org =
[mailto:uclinux-dev-bounces at uclinux.
org] =B4=FA=B1=ED Gavin Lambert
=B7=A2=CB=CD=CA=B1=BC=E4: 2007=C4=EA3=D4=C21=C8=D5 5:57
=CA=D5=BC=FE=C8=CB: 'uClinux development list'
=D6=F7=CC=E2: RE: [uClinux-dev] How to build STLport on uClinux?

Quoth Darwin Chen <>:
> I got the uClinux-dist-20060803.tar.gz, and configured as following:
> Vendor: Atmel/AT91
> Build STLport.
[...]
> ../../src/num_get_float.cpp:119:4: #error "there should be some
> unsigned 64-bit integer on the system!"
[...]
> [root at DownloaderDevelopment uClinux-dist]# arm-uclinux-gcc -v
> Reading specs from
> /usr/local/arm-elf-tools/lib/gcc/arm-uclinux/3.4.3/specs=20
> Configured with: /works/tools/gcc-3.4.3/configure
> --target=3Darm-uclinux --prefix=3D/usr/local/arm-elf-tools
> --disable-shared --enable-languages=3Dc,c++ --enable-multilib
> --enable-target-optspace --with-gnu-ld --disable-nls
> --disable-__cxa_atexit --disable-c99 --disable-clocale
> --disable-c-mbchar --disable-long-long --enable-threads=3Dposix
> --enable-cxx-flags=3D-D_ISOC99_SOURCE -D_BSD_SOURCE Thread model: =
posix
> gcc version 3.4.3
>=20
> Is this error occurred because of '-disable-long-long'? Or other
> reasons?=20

Seems likely, given the error.  Seems like an odd choice of options,
actually -- did you compile it yourself or did you get it from someone
else?

_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



More information about the uClinux-dev mailing list