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

[microblaze-uclinux] C++ question for John Williams



John;
In researching my C++/new issues, I found a question from someone back in 2007, who was having exactly the issue that I'm having (no definition for function new(unsigned long)).  In that message, you responded:

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

Indeed, the user/cxxtest directory is still there, and the helloworld application *does* build... but it built with the Ubuntu compiler, so the resulting application executes.  When I look at the makefile, it doesn't contain any of the current petalinux code.  What is the status of the cxxtest applications?  Are they supposed to be built from some other directory?  Or are they just old, unsupported code?

Dan

___________________________ 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/