This is bleeding edge stuff for now so make sure you have the latest tarball. I think the next pre-release will include all this out of the box but if not, at the very least this procedure will work.
Make sure you have a good installation of the SDK (Build & Install SDK in Debian / Ubuntu + 64bit) but use the latest (post with download link) tarball.
Just the commands:
Code: Select all
sudo apt-get install mingw32
sudo apt-get wine
wine cmd
exit
wget http://ecere.com/downloads/winbin.zip
unzip -x winbin.zip
mv bin/ecere*.dll /home/user/.wine/drive_c/windows/system32/
1. You need to install the mingw32 compiler.
Code: Select all
sudo apt-get install mingw32
Code: Select all
sudo apt-get install wine
wine cmd
exit
Code: Select all
wget http://ecere.com/downloads/winbin.zip
unzip -x winbin.zip
mv bin/ecere*.dll /home/user/.wine/drive_c/windows/system32/
- a. Applications -> Programming -> Ecere IDE
b. File -> Global Settings
c. Compilers
d. Duplicate the default compiler
e. Name it mingw32
e. In Toolchain- e.1. replace cpp by i586-mingw32msvc-cpp
e.2. replace gcc by i586-mingw32msvc-gcc
g. OkCode: Select all
/usr/i586-mingw32msvc/lib /home/user/.wine/drive_c/windows/system32
- e.1. replace cpp by i586-mingw32msvc-cpp
- a. Open a sample. (Project -> Open / CTRL+SHIFT+O)
b. Select the mingw32 compiler. (Project -> Active Compiler)
c. Build the sample! (Project -> Build / F7)
d. Test this new windows executable.Code: Select all
wine obj/helloWorld.debug.mingw32.win32/HelloWorld.exe wine obj/helloForm.debug.mingw32.win32/HelloForm.exe
-redj
PS: This has been tested in Debian 5.0 and Ubuntu 9.10 / 10.04 (both 32 and 64 bit).
(with 64 bit linux, produced windows binaries are 32 bit)
PS: Feedback for all platforms is welcome.