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

Grab precompiled Euphoria 4.0 or 4.1 binaries

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

Search



Quick Links

User menu

Not signed in.

Misc Menu