1. Install MinGW
Download the latest file from http://sourceforge.net/projects/mingw, the file is "mingw-get-inst-20110802.exe", install it. It will ask which files to download, check them all(last "mingw develop toolkit" is optional). It will spend a while to download them and install them automatically.
My target dir is c:\MinGW
2. Clone sources from github:
Code: Select all
git clone git://github.com/ecere/sdk.git
My target dir is c:\ecere_sdk_from_git
Or you can download the prepackaged zip file from https://github.com/ecere/sdk. (there is a "Downloads" button on the top right.
3. Download new dependences
See this post: http://www.ecere.com/forums/viewtopic.php?f=2&t=176 , download the 3 files about "libintl", and extract them into "C:\MinGW"
4. Download upx
Download from http://upx.sourceforge.net/, make sure the "upx.exe" in path.
5. Configure the path. Mine is:
6. Finally, compile the sources:C:\MinGW\bin;C:\upx307w
Code: Select all
cd C:\ecere_sdk_from_git
mingw32-make
There are warnings, but no problem. It will take you 10 minutes or more.C:\ecere_sdk_from_git>mingw32-make
Bootstrapping eC compiling tools...
Building ecere...
Building ec...
Building ecp...
Building ecc...
Building ecs...
All done!
Building dependencies...
Building FreeType...
Building libjpeg...
Building libpng...
Building libungif...
Building zlib...
Building 2nd stage ecere...
Building eAR command line tool...
Building Vanilla Ecere...
Building ear...
Building self-extract tool...
Building eAR command line tool...
Building 2nd stage compiler
Building 2nd stage libec...
C:\ecere_sdk_from_git\compiler\libec\src\lexer.ec28: warning: incompatible
expression yy_ec[((unsigned int)(unsigned char)*yy_cp)] (int); expected byte
C:\ecere_sdk_from_git\compiler\libec\src\lexer.ec13: warning: incompatible
expression yy_meta[(unsigned int)yy_c] (int); expected byte
C:\ecere_sdk_from_git\compiler\libec\src\lexer.ec27: warning: incompatible
expression (*yy_cp ? yy_ec[((unsigned int)(unsigned char)*yy_cp)] : (unsigned c
har)1) (int); expected byte
C:\ecere_sdk_from_git\compiler\libec\src\lexer.ec12: warning: incompatible
expression yy_meta[(unsigned int)yy_c] (int); expected byte
C:\ecere_sdk_from_git\compiler\libec\src\lexer.ec11: warning: incompatible
expression yy_meta[(unsigned int)yy_c] (int); expected byte
C:\ecere_sdk_from_git\compiler\libec\src\lexer.ec:427:26: warning: incompatible
expression c (int); expected char
C:\ecere_sdk_from_git\compiler\libec\src\lexer.ec:435:29: warning: incompatible
expression c (int); expected char
C:\ecere_sdk_from_git\compiler\libec\obj\release.win32\ec.main.ec:571:1: warning
: Redefinition of sourceFileStack (defining as char[10][MAX_LOCATION], already d
efined as char[MAX_INCLUDE_DEPTH][MAX_LOCATION])
Building 2nd stage ecp...
Building 2nd stage ecc...
Building 2nd stage ecs...
Building eC Core Runtime...
Enabling 2nd stage binaries...
Building IDE...
Building epj2make...
Building Documentor...
Building EDA...
Building Ecere Data Access layer...
Building EDASQLite driver...
The Ecere SDK is fully built.
7. Run
Goto "C:\ecere_sdk_from_git\obj\win32\bin", run the "ide.exe", you will see an IDE application start
Here is a screenshot, you can see it has windows-xp-style borders.