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:26:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!newsfeed1.uni2.dk!newsfeed101.telia.com!nf02.dk.telia.net!news-stob.telia.net!telia.net!217.209.241.173.MISMATCH!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: David Holm Newsgroups: comp.lang.ada Subject: Re: GNAT for Debian Message-ID: <20030723142533.412a3dd1.david@realityrift.com> 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> X-Newsreader: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Wed, 23 Jul 2003 12:26:09 GMT NNTP-Posting-Host: 217.208.105.88 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1058963169 217.208.105.88 (Wed, 23 Jul 2003 14:26:09 CEST) NNTP-Posting-Date: Wed, 23 Jul 2003 14:26:09 CEST Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:40700 Date: 2003-07-23T12:26:09+00:00 List-Id: On Wed, 23 Jul 2003 12:14:11 +0000 (UTC) Preben Randhol wrote: > 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. Interactive mode. Without it you have to echo the output of sed to another file and then move the new file over the old one. > > 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. The bootstrap-compiler installer dir. > > --host="${CHOST}" --build="${CHOST}" --target="${CHOST}" \ > > What is CHOST? i686-pc-linux-gnu most of the time ;) > 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. They are set automatically in Gentoo according to the users specification as to get optimum performance for his/hers machine. //David Holm