Building small big things
Open Tool Chain and C++ Standard Template Libray 
Sunday, March 15, 2009, 07:54 PM - Software
Posted by Administrator
The open Tool Chain headers convientely omit some critical STL headers so only basic C++ code could be used. Various samples provided by Apple that use OpenAL, are in C++ and also use STL. I copied the missing STL headers (map, vector, ...) over to the iPhone and updated my make file with the following settings for c++ compiling.


LDFLAGS += -lstdc++

CXXFLAGS := $(CFLAGS) -lz -x c++ -I"/var/include/c++/4.0.0" -I"/var/include/c++/4.0.0/arm-apple-darwin9"



add comment ( 15 views )   |  0 trackbacks   |  permalink

<Back | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next> Last>>