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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,27e56580ae0c3b7d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-23 05:14:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: GNAT for Debian Date: Wed, 23 Jul 2003 12:14:11 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <404ee0af.0307211056.15324da@posting.google.com> <20030722021229.15da08ae.david@realityrift.com> <20030722135518.32888aaa.david@realityrift.com> <20030722165245.15f880a2.david@realityrift.com> <20030723125549.1336a07f.david@realityrift.com> <20030723134949.7badd43c.david@realityrift.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1058962451 8313 129.241.83.78 (23 Jul 2003 12:14:12 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 23 Jul 2003 12:14:11 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:40698 Date: 2003-07-23T12:14:11+00:00 List-Id: David Holm wrote: > # Install the bootstrap compiler > cd /tmp/gnat/gnat-3.15p-i686-pc-linux-gnu-bin I expect I can use the gnat 3.14p for this. > sed -i -e "s/\"gcc\"/\"gnatgcc\"/g" ${i}; \ What does the -i flag do? It is not in the sed on Debian. > export LDFLAGS="-L/tmp/gnat/boot/lib/gcc-lib/i686-pc-linux-gnu/2.8.1 > -L/tmp/gnat/gnat-3.15p-i686-pc-linux-gnu-bin" Hmm Not sure where I should point the last -L too. > --host="${CHOST}" --build="${CHOST}" --target="${CHOST}" \ What is CHOST? echo $CHOST returns nothing > # Compile it by first using the bootstrap compiler and then bootstrapping > # our own version. Finally compile the libraries and tools. > make CC="gcc" LANGUAGES="c ada gcov" I see. I changed it to CC="gnatgcc" as the 3.14p debian package calles it gnatgcc. I have come this far down the process. It it compiling now. last > make CC="gcc" LANGUAGES="c ada gcov" bootstrap Ok Doing this now. > make CC="gcc" GNATLIBCFLAGS="${CFLAGS}" gnatlib I don't find that the CFLAGS are set anywhere. -- Ada95 is good for you. http://www.crystalcode.com/codemage/MainMenu/Coding/Ada/IntroducingAda.php