source: tags/arb_5.5/arbsrc_README_gcc.txt

Last change on this file was 6289, checked in by westram, 14 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1
2Update: Support for gcc < 3.2 has been dropped.
3The instructions below work with all version when adapted appropriately.
4
5*********************
6
7ARB will compile with several versions of gcc. Compilation was tested
8with gcc 2.95.3 and gcc versions higher or equal to gcc 3.3.3 (for
9most up-to-date details see the main Makefile).
10
11If you encounter problems compiling ARB (e.g. if Makefile reports a
12version as not supported or compilation simply does not work) you may
13want to install a different version of gcc.
14
15
16Here 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
51
Note: See TracBrowser for help on using the repository browser.