echo "The Ecere cross-platform SDK is pre-configured. Just type:
- mingw32-make; if you're on Microsoft® Windows™
- You need MinGW or MinGW-w64. We recommend TDM-GCC.
- For best results, use the version bundled with the latest Ecere installer for Windows.
- ( http://ecere.org/install/windows )
+ Linux: make
- If you're on Apple® Mac™ OS X™, first add your toolchain bin directory
- to the path and set SYSROOT to the SDK directory. e.g. with Xcode 4.5.2:
+ FreeBSD: gmake
- export PATH=$PATH:/Applications/Xcode.app/Contents/Developer/usr/bin
- export SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
- make;
- (Lion™/Xcode™ 4.5.2 recommended)
- Also tested on Mavericks with XCode 5, but debugger integration will not work without GDB.
+ Windows: mingw32-make
- It's also recommended to install XQuartz.
+ You need MinGW or MinGW-w64. We recommend TDM-GCC.
+ For best results, use the version bundled with the latest Ecere installer for Windows.
+ ( http://ecere.org/install/windows )
+ OS X:
-or simply make; if you are on GNU/Linux™
+ First add your toolchain bin directory to the path and set SYSROOT to the SDK directory. e.g. with Xcode 5.1.1:
+ export PATH=$PATH:/Applications/Xcode.app/Contents/Developer/usr/bin
+ export SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
-The SDK can probably be built on BSD and other Unixes with some additional
-jiggery-pokery."
+ make
+
+ Last tested on OS X™ Mavericks with XCode 5.1.1.
+ Please note that debugger integration only supports GDB and will not work with LLDB. It's also recommended to install XQuartz.
+
+ Other UNIX systems:
+
+ Given various degrees of efforts, it should be possible to build on other UNIX platforms. You will need a recent version of GNU Make (gmake).
+ GCC or Clang is required for your C compiler. (TCC might work too)
+ X86, AMD64, PowerPC, 32 bit ARM architectures are all known to work.
+ Some assumptions about the C types are currently made. (e.g. char: signed 1 byte, int: 4 bytes, float: 4 bytes, double: 8 bytes)
+ If your platform offers no way to conform to these assumptions, there would be a lot of code to reconsider.
+
+ Please get in touch with us for help or to coordinate efforts improving platform support.
+"
-I/usr/X11R6/include/freetype2 \
-I/usr/X11R6/include \
-I../deps/jpeg-9a \
- -I../deps/libpng-1.4.0 \
+ -I../deps/libpng-1.6.12 \
-I../deps/libungif-4.1.1/lib,) \
$(if $(DEBUG), -g, -O2 -ffast-math) $(FPIC) -w \
-DBUILDING_ECERE_COM \
-L$(SYSROOT)/usr/X11/lib \
-L/usr/X11R6/lib \
-L../deps/jpeg-9a/obj/release.$(PLATFORM)$(COMPILER_SUFFIX) \
- -L../deps/libpng-1.4.0/obj/release.$(PLATFORM)$(COMPILER_SUFFIX) \
+ -L../deps/libpng-1.6.12/obj/release.$(PLATFORM)$(COMPILER_SUFFIX) \
-L../deps/libungif-4.1.1/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)
LIBS += \
$(call _L,curses) \