[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] STLport build fails



Hi Kristoffer,

Kristoffer Hedberg wrote:

I am using petalinux-v0.20-rc3 trying to build STLport for C++ stdlib
support, but the build fails with

make[2]: Entering directory

[snip]

See <URL:http://developer.petalogix.com> for instructions.
make[4]: *** [obj/gcc/shared/dll_main.o] Error 1
make[4]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib/STLport/build/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib/STLport'
make[2]: *** [STLport] Error 2
make[2]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib'
make: *** [subdirs] Error 1

Has anyone else experienced this problem?

We've never been able to get STLport to build properly, which is why instead we have built the stdlibc++ and bundled it with the microblaze-uclinux-* tools.

In the PetaLinux environment you can just do

microblaze-uclinux-g++ -o hello hello.cpp

and it will produce a ready-to-run binary. You can use iostreams, STL, and pretty much everything else that you would expect.

Is there a specific reason you want to use STLport, or are you just trying to build a C++ app?

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/