Good news for everyone wanting to use the POCO C++ Libraries or the POCO Platform (especially Remoting or Fast Infoset) in the development of an iPhone application. The POCO libraries can now be built for the iPhone using Apple’s iPhone SDK and tools, and we successfully ran an application using POCO on the iPhone as well. Except for a little change that was necessary (the iPhone, in contrast to Mac OS X, has no struct stat64), POCO builds out of the box for the iPhone. Main work was finding the correct compiler and linker options. The upcoming 2009.1 release will include a build configuration file for the iPhone. Using POCO from Objective-C++ code works well, provided that the project settings are correctly set in Xcode (e.g., treat all source files as Objective-C++ instead of Objective-C, enable C++ exceptions and RTTI). We’ll probably soon see the first iPhone applications using POCO.
Archive for March, 2009
The POCO C++ Libraries on Tiny Hardware
March 11th, 2009, Author: guenter, Category: C++, Development, Fun, News
We recently got our hands on a Digi Connect ME 9210, one of the smallest Linux-capable embedded computers in the world. The system, which is just a bit larger than an Ethernet RJ-45 socket, is based on an ARM9 CPU running at 75 MHz. With 4 MB of Flash and 8 MB or DRAM, the system is powerful enough to run POCO-based applications. For example, we ported the Mindstorms/iPhone controller application from the demo we showed at Embedded World in Nuremberg to the Connect ME, and it runs great. Well, porting is a bit overstating, as we merely had to build a new Flash image for the Connect ME, and update the application’s config file. Well, a 75 MHz ARM9 CPU provides enough power to run an application with a built-in web server powering an Ajax-enabled website. Also, the performance improvements for the 1.3.4 release help a lot to make the application work great. Additionally, the 1.3.4 release will introduce some minor changes to help reduce the executable size of statically linked applications. For example, it is possible to build the Util library without XMLConfiguration support, which prevents the XML library from being linked in, cutting about 500K from the executable size.
Working with this little device has been a lot of fun, and we are looking forward doing some cool projects with it.
Search
-
You are currently browsing the Applied Informatics Developer Connection blog archives for March, 2009.
Resources
Archives
Categories
- Announcements (17)
- C++ (4)
- Case Studies (1)
- Development (11)
- Documentation (3)
- Events (1)
- Fun (1)
- How-To (2)
- News (6)
- Products (8)
- Fast Infoset (1)
- OSP (2)
- Remoting (4)
- Release (2)
- Screencasts (2)
- TechNote (1)
