comp.lang.ada
 help / color / mirror / Atom feed
From: David Holm <david@realityrift.com>
Subject: Re: GNAT for Debian
Date: Wed, 23 Jul 2003 12:26:09 GMT
Date: 2003-07-23T12:26:09+00:00	[thread overview]
Message-ID: <20030723142533.412a3dd1.david@realityrift.com> (raw)
In-Reply-To: slrnbhsv00.5rf.randhol+abuse@kiuk0152.chembio.ntnu.no

On Wed, 23 Jul 2003 12:14:11 +0000 (UTC)
Preben Randhol <randhol+abuse@pvv.org> 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



  reply	other threads:[~2003-07-23 12:26 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-21 18:56 GNAT for Debian Francisco Javier Loma Daza
2003-07-21 19:51 ` Samuel Tardieu
2003-07-22  0:12 ` David Holm
2003-07-22  9:03   ` Preben Randhol
2003-07-22 11:55     ` David Holm
2003-07-22 12:16       ` Preben Randhol
2003-07-22 14:53         ` David Holm
2003-07-23 10:00           ` Preben Randhol
2003-07-23 10:25             ` Preben Randhol
2003-07-23 10:56             ` David Holm
2003-07-23 11:03               ` Preben Randhol
2003-07-23 11:50                 ` David Holm
2003-07-23 12:14                   ` Preben Randhol
2003-07-23 12:26                     ` David Holm [this message]
2003-07-23 12:30                       ` Preben Randhol
2003-07-24  8:50                   ` Chris M. Moore
2003-07-24  9:13                     ` Preben Randhol
2003-07-24  9:14                       ` Preben Randhol
2003-07-24 11:44                       ` Chris M. Moore
2003-07-24 11:47                         ` Preben Randhol
2003-07-24 15:54                           ` Chris M. Moore
2003-07-24 21:12                             ` George Shapovalov
2003-07-24 21:58                               ` Simon Wright
2003-07-25  1:39                                 ` George Shapovalov
2003-07-25  6:41                                   ` Ludovic Brenta
2003-07-25 10:54                                     ` Preben Randhol
2003-07-25 10:59                                       ` Preben Randhol
2003-07-25 10:58                                     ` Preben Randhol
2003-07-25 12:35                                     ` Samuel Tardieu
2003-07-26 10:01                                       ` Ludovic Brenta
2003-07-26 10:12                                         ` Samuel Tardieu
2003-07-26  3:36                                     ` Warren W. Gay VE3WWG
2003-07-26  8:51                                       ` Samuel Tardieu
2003-07-25  6:39                                 ` Preben Randhol
2003-07-25  6:55                                   ` Ludovic Brenta
2003-07-25  6:33                             ` Preben Randhol
2003-07-23 18:09               ` Matthew Woodcraft
2003-07-23 18:40                 ` Ludovic Brenta
2003-07-22  8:05 ` Georg Bauhaus
2003-07-22  9:02 ` Preben Randhol
2003-07-22 14:54   ` Francisco Javier Loma Daza
2003-07-22 15:37     ` Samuel Tardieu
2003-07-23 10:01       ` Preben Randhol
2003-07-23 10:08         ` Samuel Tardieu
2003-07-23 10:49           ` Preben Randhol
2003-07-23 10:58             ` Preben Randhol
2003-07-25 11:41         ` Jérôme Marant
2003-07-25 12:05           ` Ludovic Brenta
replies disabled

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