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

RE: [microblaze-uclinux] C++



Thanks John and Jose, I was able to get it to build with petalinux.

As a side note I am very disappointed with Xilinx linux support,
especially the "cable driver" under my existing (suse) 2.6 linux. 2.6
has only been out for FOUR YEARS. The "Xilinx Answer Record 18612"
instructions failed with errors. Time to reformat and install Centos I
guess.

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John
Williams
Sent: Sunday, March 18, 2007 11:20 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: 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/


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