User Tools

Site Tools


i386linuxinstallation2

Differences

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

Link to this comparison view

i386linuxinstallation2 [2008/01/07 14:59] (current)
Line 1: Line 1:
 +====== i386 Linux GCC for Mac OS x Installation Instructions (Release 2) ======
  
 +The DMG files contain an Mac OS X package. Use ''i386-linux-gcc 4.1.1 for Mac OS X (ppc).dmg'' on a PPC Mac, and ''i386-linux-gcc 4.1.1 for Mac OS X (Intel).dmg'' on an Intel Mac.
 +
 +This package installs all files in ''**/usr/local/i386-linux-4.1.1**'' directory.
 +
 +All tools are located in the ''**/usr/local/i386-linux-4.1.1/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-linux-4.1.1/bin/i386-linux-gcc**'' for ''gcc''.
 +
 +This package is based on the following distributions:
 +^Package  ^Version ^
 +|BINUTILS  |binutils-2.17  |
 +|GCC  |gcc-4.1.1  |
 +|GCC Core  |gcc-core-4.1.1  |
 +|C++  |gcc-g++-4.1.1  |
 +|JAVA  |gcc-java-4.1.1  |
 +|OBJECTIVE C  |gcc-objc-4.1.1  |
 +|GLIBC  |glibc-2.3.6  |
 +|GLIBC LINUX THREADS  |glibc-linuxthreads-2.3.6  |
 +|LINUX LIBC HEADERS  |linux-libc-headers-2.6.12  |
 +
 +====== Sample Code ======
 +
 +Once that you installed the distribution, you can test the correct operation with the following example. It 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 |{{c_sample_gcc_for_linux_on_macosx.zip|c_sample_gcc_for_linux_on_macosx.zip}} (3.7 kB)|
i386linuxinstallation2.txt ยท Last modified: 2008/01/07 14:59 (external edit)