From: Marcel R. <mr...@ma...> - 2008-11-23 17:12:34
|
Marcel Ruff schrieb: > Hi, > > what is the best approach to use cpptasks > to create a static library for the iPhone ARM processor? > > The Mac OS XCode has a suitable gcc crosscompiler delivered, > how do i configure cpptasks to use this? > It boils down to inject somehow following settings: DEVROOT:=/Developer/Platforms/iPhoneOS.platform/Developer SDKROOT:=$(DEVROOT)/SDKs/iPhoneOS2.0.sdk CPPFLAGS=-I$(SDKROOT)/usr/lib/gcc/arm-apple-darwin9/4.0.1/include/ -I$(SDKROOT)/usr/include/ CFLAGS=$(CPPFLAGS) -arch armv6 -pipe -no-cpp-precomp -isysroot $(SDKROOT) CC=$(DEVROOT)/usr/bin/arm-apple-darwin9-gcc-4.0.1 LD=$(DEVROOT)/usr/bin/ld How is this done? Thanks Marcel > Thanks > Marcel > > -- Marcel Ruff http://www.xmlBlaster.org http://watchee.net Phone: +49 7551 309371 |