Compiling41windows
Quick 4.1 sources compile guide on Windows
Note: Quick draft, you're welcome to improve it
Note: This is for building a 32-bit version (you can still build and run it on 64-bit)
Get the sources using Mercurial
You need to clone the Euphoria repository
- Run: hg clone http://scm.openeuphoria.org/hg/euphoria/
- This will create a copy of the Euphoria repository in the directory where you ran the command.
- Let's assume you are inside C:\projects
Grab precompiled Euphoria 4.0 or 4.1 binaries
- For example, you can find 4.1 binaries here http://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0/
- http://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0/euphoria-4.1.0-Win-x86.zip/download was used in this example
- Uncompress it to directory and remember it as you'll need it later :)
Get MINGW and MSYS
- Go to http://www.mingw.org/wiki/Getting_Started and download the Graphical User Interface Installer provided there.
- Execute, click Install and choose at least mingw32-base and msys-base
- To make things easier you can choose to install to C:\MingW as suggested
- Once you have MINGW and MSYS you'll need to edit a file to make your life easier. Copy C:\MinGW\msys\1.0\etc\fstab.sample (or rename it) to C:\MinGW\msys\1.0\etc\fstab and add your downloaded precompiled Euphoria directory there, example:
#Win32_Path Mount_Point c:/MinGW /mingw c:/Users/KDev/programs/euphoria-4.1.0-Win-x86 /euphoria
- Now you need to launch MSYS environment in order to be able to run configure and make utilities.
- Run C:\MinGW\msys\1.0\msys.bat you'll be presented with a terminal. Note that this is a bash shell so commands are different and it's case sensitive.
- Also paths are different, you don't use \ to separate directories (you could use double \) but it's easier to just use /
Building
- Inside this terminal, go to the euphoria repository directory, you would do: cd C:/projects/euphoria
- Once inside it, it's recommended to create a build directory and build there
- Run: mkdir build
- Get inside, run: cd build
- You're ready to go, two steps missing.
- Call configure with: ../configure
- And now: make
If you need further help, contact me on the forum ( gbonvehi / Guillermo Bonveh? )
Not Categorized, Please Help
|