comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Francois Vilarem <vilarem@lirmm.fr>
Subject: Re: GNAT 3.10p and GCC 2.7.2.3
Date: 1998/02/07
Date: 1998-02-07T00:00:00+00:00	[thread overview]
Message-ID: <87ra5f1pm6.fsf@darkstar.maison> (raw)
In-Reply-To: 6bguq9$rjh$2@uuneo.neosoft.com


rlove@antispam.neosoft.com (Robert B. Love ) writes:

> I've just upgraded my Linux to RedHat 5 and seem to have lost my
> ability to compile.  I believe that my gcc got upgraded to 2.7.2.3.
> What gcc was gnat-3.10p built with?  Is there a compatibility problem
> with it and the newer gcc?
Binaries from gnat-3.10p.....tar.gz are built using gcc-2.7.2.1 and libc.so.5
This installation overwrite /usr/bin/gcc and does not work.

I have found a dirty trick :  use the package gnat-3.10 from debian/hamm/devel
This package is compiled with glibc2.0, gcc-2.7.2.3 and does not divert gcc.

1. get the package debian/hamm/binary-i386/devel/gnat_3.10p-2.deb
2. get the debian binary dpkg-deb or compile it from  source :
      debian/bo/source/base/dpkg_1.4.0.8.tar.gz 
		2.1 cd /tmp ; tar xvfz dpkg_1.4.0.8.tar.gz
		2.2 cd dpkg-1.4.0.8 ; ./configure
		2.3 cd lib ; make
		2.4 cd ../dpkg-deb ; make
		2.5 Use dpkg-deb in step 4
3. Using my redhat-5.0, gcc-lib is  /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3
control this path with gcc -v
then link 
ln -s /usr/lib/gcc-lib/i386-redhat-linux  /usr/lib/gcc-lib/i486-linux

4. logged as root :
dpkg-deb -x gnat_3.10p-2.deb   /

which extracts  binaries  from gnat_3.10p-2.deb in /   (dpkg-deb --help)

5. ldconfig






  reply	other threads:[~1998-02-07  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-07  0:00 GNAT 3.10p and GCC 2.7.2.3 Robert B. Love 
1998-02-07  0:00 ` Jean-Francois Vilarem [this message]
1998-02-10  0:00   ` Robert B. Love 
1998-02-08  0:00 ` Michael Appleby
1998-02-08  0:00   ` bklungle
1998-02-09  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox