Difference between revisions of "Building MINGW-w64"
(New page: = Setting up the build environment = * Download cygwin setup from here: [http://cygwin.com/setup.exe] * Run the installer and add the following components: ** Devel: *** binutils *** biso...)
Revision as of 18:48, 6 April 2010
Setting up the build environment
- Download cygwin setup from here: 
- Run the installer and add the following components:
- make (3.81 or newer)
Getting the sources
Start the cygwin shell. you should be in a folder like user/YourName. If YourName is a path that has a space in it, I suggest to use a different one.
Now create a build directory and a subdirectory for binutils:
mkdir build cd build mkdir binutils cd binutils
From the build directory run the binutils configure script:
../../src/binutils-2.20/configure --target=x86_64-w64-mingw32 --enable-targets=x86_64-w64-mingw32,i686-w64-mingw32 --with-sysroot=/RosBE64 --prefix=/RosBE64
Now build the whole stuff.
Finally install it into the designated directory.