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

Re: [microblaze-uclinux] C++



Hi Larry,

Larry Rystrom wrote:

I am new to uclinux, so please bear with me if I should already know the
answer. Our company would like to take an existing c++ software
application and make it run under uclinux. I find I am unable to get
even a "hello world" application (below) to compile under uclinux,
apparently due to missing standard template library headers. Does anyone
have any suggestions on how to build a c++ application?

With the toolchain distributed as part of PetaLinux, C++ apps should just work.

http://developer.petalogix.com

As Jose suggests, use the petalinux-new-app helper script to create a template for an application, it wil be in ${PETALINUX}/software/user-apps

Add C++ source files to the project as your would normally, and try to make it.

The C++ test apps inside petalinux-dist/user/cxxtest all build fine, and use exceptiosn, templates, iostreams and all the normal C++ stuff.

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/