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