Sorry about that last post - in a one two punch half of the email got
selected, deleted and then sent

I've cross compiled several libraries using
-DCMAKE_OSX_ARCHITECTURES="i386;armv7" ../

I tried compiling with the toolchain and also with the SOCI scripts I
posted earlier.  The command line flags were pulled from the script.

On the SOCI mailing list they directed me to this, that suggests the
Threading may have been a problem on iOS.

http://stackoverflow.com/a/14198386/151641

Can i just download pthread.h and point to it some how?  I am very new to
cmake.

Thanks,
Casey



On Thu, Mar 14, 2013 at 11:26 AM, Sergei Nikulov
<sergey.niku...@gmail.com>wrote:

>
>
>
> 2013/3/14 Casey Basichis <caseybasic...@gmail.com>
>
>> Hi,
>>
>> I followed your instructions.
>>
>> I also modified the make files a bit according to this -
>> http://ares.lids.mit.edu/redmine/projects/forest-game/wiki/Building_soci_for_iOS
>>    Though I'm not using their scripts.
>>
>> I compiled to 386:Arm7 fat target.  Here are the errors I get.  The
>> thread bits are at the bottom.  Everything else seem ok - though the
>> printed out data suggest the compiler is not clang, it seems to be using it.
>>
>>
> Hi Casey,
>
> I'm not sure that it will work in your way.
> Have you read this information
> http://www.cmake.org/Wiki/CMake_Cross_Compiling ?
> And this one http://code.google.com/p/ios-cmake/wiki/HowTo
>
> Unfortunately I've not tried this myself.
>
> --
> Best Regards,
> Sergei Nikulov
>



-- 
Casey James Basichis
Composer - Adventure Time - Cartoon Network
http://www.caseyjamesbasichis.com
caseybasic...@gmail.com
310.387.7540
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to