Skip to content

Instantly share code, notes, and snippets.

@malkia
Created March 31, 2012 09:37
Show Gist options
  • Save malkia/2261296 to your computer and use it in GitHub Desktop.
Save malkia/2261296 to your computer and use it in GitHub Desktop.
another build primer
+win # MSVC Compilers
-host.win ERROR="No cross compiling possible outside Windows (yet there is some WINE stuff..."
+host.win
+host.win.vs2005 +host.win.vs2008 +host.win.vs2010 +host.win.vs2011
INIT="c:/Prorams Files/.../setvars32.cmd"
+host.win.sdk ERROR="Not Finished yet"
+host.win.wdk
WDK=`wdk-location.cmd`
CL=${WDK}/bin/cl.exe
+mingw # Mingw compilers
+host.win ERROR="Not finished yet"
+host.linux ERROR="Not finished yet"
+host.osx
-mingw ERROR="On OSX only mingw is supported windows cross compiler"
+mingw
+host.osx.fink ERROR="No support yet for fink mingw"
+host.osx.brew ERROR="No support yet for brew's mingw"
+host.osx.macports
-x86 ERROR="Macports has only 32-bit mingw"
+x86
INSTALL="port install i386-mingw32-libunicows" # libunicows would trigger a whole bunch of other required packages to be installed
PREFIX=i386-mingw32-
+cygwin
-host.cygwin ERROR "Cygwin compilation is possible right now only under Windows"
+host.cygwin
INIT="bash myscript"
+osx
-host.osx ERROR "Blah"
+host.osx
DEVDIR=`xcode-select -print-path`
CC=$DEVDIR/usr/bin/gcc
+ios
-host.osx ERROR "iOS compilation is only possible on OSX host"
+host.osx
-ios.sim ROOT=$DEVDIR/Platforms/iPhoneOS.platform
+ios.sim ROOT=$DEVDIR/Platforms/iPhoneSimulator.platform
+webos
+host.win +host.linux ERROR "Not finished yet"
+host.osx
PALM_SDK=/opt/PalmSDK
PALM_PDK=/opt/PalmPDK
NOVA_DIR=/opt/nova
+bbx
ERRROR "Not finished"
+android
+host.win +host.linux ERROR "Not finished yet"
+host.osx
ROOT=/Users/malkia/p/android-ndk-r7/
-android.3-android.4-android.5-android.8-android.9-android.14
ERROR="Android 3, 4, 5, 8, 9 or 14 only supporte"
-android.3 set +api.gles
-android.3-android.4 set +api.gles2
+android.9 +android.14 set +api.egl +api.sles
+android.14 set +api.omxal
set +api.z
set +api.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment