|
Revision 6289, 1.4 KB
(checked in by westram, 2 years ago)
|
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | |
|---|
| 2 | Update: Support for gcc < 3.2 has been dropped. |
|---|
| 3 | The instructions below work with all version when adapted appropriately. |
|---|
| 4 | |
|---|
| 5 | ********************* |
|---|
| 6 | |
|---|
| 7 | ARB will compile with several versions of gcc. Compilation was tested |
|---|
| 8 | with gcc 2.95.3 and gcc versions higher or equal to gcc 3.3.3 (for |
|---|
| 9 | most up-to-date details see the main Makefile). |
|---|
| 10 | |
|---|
| 11 | If you encounter problems compiling ARB (e.g. if Makefile reports a |
|---|
| 12 | version as not supported or compilation simply does not work) you may |
|---|
| 13 | want to install a different version of gcc. |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | Here a short howto (using gcc.2.95.3 as example): |
|---|
| 17 | |
|---|
| 18 | - download (i.e.) |
|---|
| 19 | |
|---|
| 20 | - ftp://ftp.leo.org/pub/comp/os/unix/gnu/gcc/gcc-2.95.3/gcc-core-2.95.3.tar.gz (8.5 Mb) |
|---|
| 21 | - ftp://ftp.leo.org/pub/comp/os/unix/gnu/gcc/gcc-2.95.3/gcc-g++-2.95.3.tar.gz (1.5 Mb) |
|---|
| 22 | |
|---|
| 23 | or |
|---|
| 24 | |
|---|
| 25 | - http://gd.tuwien.ac.at/gnu/sourceware/gcc/releases/gcc-2.95.3/gcc-core-2.95.3.tar.gz |
|---|
| 26 | - http://gd.tuwien.ac.at/gnu/sourceware/gcc/releases/gcc-2.95.3/gcc-g++-2.95.3.tar.gz |
|---|
| 27 | |
|---|
| 28 | - unpack into directory 'your-gcc-source' |
|---|
| 29 | - create directory 'your-gcc-objects' |
|---|
| 30 | |
|---|
| 31 | - configure gcc: |
|---|
| 32 | |
|---|
| 33 | cd your-gcc-objects |
|---|
| 34 | ../your-gcc-source/configure --prefix=/opt/gcc-2.95 |
|---|
| 35 | |
|---|
| 36 | [If you'd like to see english error messages use '--disable-nls' ] |
|---|
| 37 | |
|---|
| 38 | - build gcc: |
|---|
| 39 | |
|---|
| 40 | make bootstrap |
|---|
| 41 | |
|---|
| 42 | su |
|---|
| 43 | make install |
|---|
| 44 | |
|---|
| 45 | - prefix |
|---|
| 46 | /opt/gcc-2.95/bin |
|---|
| 47 | to your PATH environment variable. |
|---|
| 48 | |
|---|
| 49 | - compile ARB |
|---|
| 50 | |
|---|