From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d44726544972ff65 X-Google-Attributes: gid103376,public From: Jean-Francois Vilarem Subject: Re: GNAT 3.10p and GCC 2.7.2.3 Date: 1998/02/07 Message-ID: <87ra5f1pm6.fsf@darkstar.maison>#1/1 X-Deja-AN: 322911560 Sender: vilarem@darkstar.maison References: <6bguq9$rjh$2@uuneo.neosoft.com> Organization: LIRMM Newsgroups: comp.lang.ada Date: 1998-02-07T00:00:00+00:00 List-Id: 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