[maemo-developers] [maemo-developers] Maemo & C++
From: Richard Warrender richard at hand5.co.ukDate: Wed Jun 29 15:10:05 EEST 2005
- Previous message: [maemo-developers] Maemo & C++
- Next message: [maemo-developers] Maemo & C++
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I would really like to program in Java. It's listed in the roadmap. Anyone working on it at the moment? Regards, Richard > -----Original Message----- > From: maemo-developers-bounces at maemo.org > [mailto:maemo-developers-bounces at maemo.org] On Behalf Of > Karoliina T. Salminen > Sent: 29 June 2005 10:57 > To: maemo-developers at maemo.org > Cc: ext Jaco du Preez > Subject: Re: [maemo-developers] Maemo & C++ > > ext Jaco du Preez wrote: > > >Hi, > > > >I looked at the Maemo development environment and it looks great. > >Here is the thing, I would like to write applications in C++ > and make > >use of OOP, templates and a few other features. I would like to make > >use of libraries such as > > > >Sigslot - http://sigslot.sourceforge.net/ ACE - > >http://ace.sourceforge.net/ Boost - http://www.boost.org/ > > > >Is there a way I can develop in C++? > >Perhaps a C++ compiler that I can use that supports the Nokia 770 > >architecture and chipset and that is easily used in the > Maemo development environment? > > > >Regards, > >Yocto > > > > > > > > > >_______________________________________________ > >maemo-developers mailing list > >maemo-developers at maemo.org > >https://maemo.org/mailman/listinfo/maemo-developers > > > > > > > Hi, > > The development environment has gcc compiler system which > includes g++ compiler. I don't see a reason why it wouldn't > work on the device unless someone have ripped the c++ runtime > libraries out that I tend to doubt (please correct me if I am > wrong, even if that would be the case, there is the option to > statically link them). > > Just a quick hello-world -type try in my scratchbox environment: > [sbox-sbox-qemu-new: ~] > nano hello.cpp > [sbox-sbox-qemu-new: ~] > more hello.cpp #include <iostream> > #include <string> > > using namespace std; > > class a { > public: > a(){s = "world"; cout << s << endl; } > ~a(){s = "";} > private: > string s; > }; > > class b: public a { > public: > b(){} > ~b(){cout << "bye" << endl;} > }; > > int main(void){ > cout << "Hello "; > b test; > return 0; > } > [sbox-sbox-qemu-new: ~] > > [sbox-sbox-qemu-new: ~] > ./hello > Hello world > bye > [sbox-sbox-qemu-new: ~] > > > So at least in scratchbox, seems to work fine. > > Best Regards, > Karoliina Salminen > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers > -- > This email has been verified as Virus free Virus Protection > and more available at http://www.plus.net >
- Previous message: [maemo-developers] Maemo & C++
- Next message: [maemo-developers] Maemo & C++
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]