CoreFoundation Lite on Linux and Android
Posted
by celil
on Stack Overflow
See other posts from Stack Overflow
or by celil
Published on 2010-06-01T04:39:25Z
Indexed on
2010/06/01
4:43 UTC
Read the original article
Hit count: 304
I would like to use Apple's CoreFoundation library on linux and android. The source code is available here, but there is very little documentation on how to build it on Linux. As far as I could figure out, building is done through a script called BuildCFLite. I grepped for DEPLOYMENT_TARGET
./CFUtilities.c:#if DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_LINUX || DEPLOYMENT_TARGET_FREEBSD
and Linux seems to be supported at first site by setting -DDEPLOYMENT_TARGET_LINUX
, but some of the compiler flags in that script are not available on linux, so when I try to build I get an error.
Does anybody have experience building the latest version of CoreFoundation for Linux? Also what are the dependencies for building CoreFoundation? Would it be feasible to use it in the Android NDK?
© Stack Overflow or respective owner