home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / ada / gnat-3.01- < prev    next >
Encoding:
Text File  |  1996-11-16  |  3.0 KB  |  66 lines

  1.  
  2.   This is GNAT version 3.01 compiled as ELF binaries under linux.  If
  3. your system is not ELF, this is not for you.  It was compiled with gcc
  4. 2.7.2, binutils 2.6.0.2, and libc-5.2.16. You definately need at least
  5. libc-5.2.16 to use this release.  It is publically available, so you
  6. should have no problems getting a copy.  The gcc 2.7.2 binary is not
  7. included in this release (except for the GNAT specific part) but is
  8. required to use GNAT. You must get the gcc-2.7.2 binaries from somewhere
  9. like sunsite.unc.edu or tsx-11.mit.edu.  Note that everything included was
  10. compiled from publically available packages.  This means that anyone can
  11. recompile GNAT 3.01 for themselves, but I strongly discourage it since
  12. there are some problems that are still being addressed (see 3&5 below).
  13.  
  14. There are a few items that need to be mentioned:
  15.  
  16.   1) The pthread library is 1.60 beta 2, but it is the
  17.      version that has been incorporated into the libc library.
  18.      It is not included in the binary release of libc-5.2.16, but
  19.      you can compile it from the sources if you want.  I have included
  20.      it in the GNAT binary archive.
  21.  
  22.   2) The release includes usr/bin/gcc.  This is because important
  23.      information required by gcc to recognize other languages has been
  24.      removed from the base source code and is instead compiled in
  25.      separately.
  26.  
  27.   3) These are the steps required to compile GNAT:
  28.  
  29.       # first, setup the gcc source as instructed by the GNAT README,
  30.       # apply the gcc-272.dif to gcc-2.7.2 and apply the linux.dif from
  31.       # the linux binary archive to the GNAT source.
  32.       # mv the gnat-3.01-src/src/ada directory into the gcc-2.7.2 directory.
  33.       # cd to the gcc-2.7.2 directory.
  34.       ./configure --target=i486-linux --with-gnu-as --with-gnu-ld --prefix=/usr
  35.       make CFLAGS="-O3 -fomit-frame-pointer"
  36.       make CFLAGS="-O3 -fomit-frame-pointer" gnattools
  37.       make CFLAGS="-g -fPIC -D_MIT_POSIX_THREADS" gnatlib
  38.       su
  39.       make install
  40.  
  41.      Some tweaking is necessary to make a shared library and the steps are
  42.      not well-defined at this time, so I am not going to get into it.
  43.  
  44.   4) This release includes a shared library version of libgnat.  I have
  45.      placed it in /usr/lib so that you do not need to add another entry
  46.      in /etc/ld.so.conf.
  47.  
  48.   5) I have been requested to omit a patch to gcc that is required to get
  49.      around a problem I encountered when compiling the RTS.  My patch does
  50.      not fix the true bug in GNAT, but sorta covers it up.  A proper solution
  51.      is being investigated by the folks at ACT.  If you have a serious need
  52.      to compile GNAT yourself, think twice :-), then if you still need to
  53.      do it, I can provide you with my patch.
  54.  
  55.   6) All example programs compile and run with the exception of diners.
  56.      The problem has already been reported and is on ACT's list.  I have
  57.      also minimally tested tasking and it appears to work.
  58.  
  59.   Please report any and all ommisions or oversights on my part in the
  60. contents of this binary release.
  61.  
  62. Enjoy,
  63.  
  64. Sean McNeil
  65. sean@mcneil.com
  66.