building c++ for openmoko

Holger Freyther zecke at openmoko.org
Wed May 7 10:00:40 CEST 2008


On Wednesday 07 May 2008 03:25:57 Tabosa Maren wrote:
> hello,
> i'm new to openmoko and building applications with autotools. i followed
> the tutorial for the usage of the toolchain at
> http://wiki.openmoko.org/wiki/Toolchain and modified the example
> application "openmoko-sample2" accordingly. however i don't like writing c
> code and would prefer to use c++. so i simply changed the fileextension of
> my sourcefile to cc and reran om-conf.
> the resulting project didn't compile, because the configuration system no
> longer supplied the necessary include pathes (e.g. the one for gtk). what
> do i have to modify, to make the build system work with c++ ?

Hey,
you want to update the Makefile.am as well and put some of the CFLAGS into 
CPPFLAGS or CXXFLAGS...

z.



More information about the openmoko-devel mailing list