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,8c8bbb1419c8e81a X-Google-Attributes: gid103376,public From: aklee@no_spam.bonsai.net (Albert K. Lee) Subject: Re: Bad .diff files in gnat-3.09 in Linux Date: 1997/05/09 Message-ID: #1/1 X-Deja-AN: 240317896 References: <1997Apr28.151327.1@eisner> <5k52k2$7v0$1@news.nyu.edu> <1997May1.071854.1@eisner> Organization: The Bonsai Group Newsgroups: comp.lang.ada Date: 1997-05-09T00:00:00+00:00 List-Id: On 7 May 1997 09:01:22 -0400, Benoit Jauvin-Girard wrote: > >I couldn't find any help on this in any docs, FAQs or archives, so... > >I'm trying to recompile GNAT 3.09 on a i586-unknown-linux system, with >libc-5.4.23 and binutils-2.7.0.9 . When I try to apply the gcc-272.diff >and linux.diff patches (on gcc-2.7.2.1, as prescribed), both patches fail: >the gcc-272 patch is an inexact fit, and the linux patch just fails. > >Needless to say, the compilation then goes wrong. > >I figure I'm either using the wrong patches, the wrong switches or the >wrong patch executable - anybody encounter that problem? > >(...Alternatively, can somebody e-mail me the patched files?) I have exactly the same system. Untar gcc, untar GNAT, mv the gnat*/ada/ directory to under the gcc-2.7.2.1 directory, cd into the gcc directory and apply the gcc-272 patch ("patch -p0 <...>"). The linux patch is *not* required at all. Then follow the instructions in gcc*/INSTALL. Bottom line: just don't bother using the linux diff. Also, what version of GNAT do you have already installed? If it's too old, compilation will bomb ... -Albert K. Lee aklee@interport.net