User Tools

Site Tools


mingwinstallation2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mingwinstallation2 [2008/05/13 09:26] (current)
Line 1: Line 1:
 +====== MinGW for Mac OS X Installation Instructions (Release 2, december 2006) ======
 +
 +Two DMG files are provided, one for PowerPC based Mac, one for Intel based Mac. They contain a Mac OS X package.
 +
 +This package installs all files in ''**/usr/local/i386-mingw32-3.4.5**'' directory.
 +
 +All tools are located in the ''**/usr/local/i386-mingw32-3.4.5/bin**'' directory. You can add this path to your ''$PATH'' shell variable, or invoke the tools with their full path name: for example ''**/usr/local/i386-mingw32-3.4.5/bin/i386-mingw32-gcc**'' for ''gcc''.
 +
 +This package is based on the [[http://www.mingw.org/download.shtml|Min GW 3.4.5 distribution]]:
 +^Package  ^File ^
 +|binutils  |binutils-2.17.50-20060824-1-src.tar.gz  |
 +|Ada  |gcc-ada-3.4.5-20060117-1-src.tar.gz  |
 +|GCC Core  |gcc-core-3.4.5-20060117-1-src.tar.gz  |
 +|C++  |gcc-g++-3.4.5-20060117-1-src.tar.gz  |
 +|Fortran 77  |gcc-g77-3.4.5-20060117-1-src.tar.gz  |
 +|Java  |gcc-java-3.4.5-20060117-1-src.tar.gz  |
 +|Objective C  |gcc-objc-3.4.5-20060117-1-src.tar.gz  |
 +|Win32 API  |w32api-3.8-src.tar.gz  |
 +|MinGW Runtime  |mingw-runtime-3.9-src.tar.gz  |
 +
 +All theses files are included in the [[http://crossgcc.rts-software.org/download/macmingw-3.4.5-20060117-1-src.dmg|macmingw-3.4.5-20060117-1-src.dmg (51.6 MB)]] source package.
 +
 +====== Sample Code ======
 +
 +On may 13th 2008, the examples have been updated for release 2. Sample code for release 1 are [[http://crossgcc.rts-software.org/doku.php?id=mingwinstallation#sample_code|here]].
 +
 +Once that you installed the distribution, you can test the correct operation with the following examples. Each downloadable example includes the source files, a ''makefile'' file, and command files:
 +  * for compiling, open ''build.command'' file;
 +  * for cleaning, open ''clean.command'' file.
 +
 +Theses command files call the makefile.
 +
 +|Hello World in C |{{mingw-release2-c_sample.zip| c_sample.zip}} (2.7 kB)|
 +|Hello World in C++ |{{mingw-release2-cpp_sample.zip|cpp_sample.zip}} (2.8 kB)  |
 +|Handling GetLongPathName under W95 |{{mingw-release2-getlongpathname_sample.zip|getlongpathname_sample.zip}} (3.2 kB)  |
 +
  
mingwinstallation2.txt ยท Last modified: 2008/05/13 09:26 (external edit)