comp.lang.ada
 help / color / mirror / Atom feed
From: chris.m.moore@amsjv.com (Chris M. Moore)
Subject: Re: GNAT for Debian
Date: Thu, 24 Jul 2003 08:50:32 GMT
Date: 2003-07-24T08:50:32+00:00	[thread overview]
Message-ID: <3f1f9c07.90089321@news.greenlnk.net> (raw)
In-Reply-To: 20030723134949.7badd43c.david@realityrift.com

On Wed, 23 Jul 2003 11:50:25 GMT, David Holm <david@realityrift.com>
wrote:

<snip>

>	# Make sure we install it as gnatgcc/gnatgcov as not to overwrite gcc/gcov
>	for i in `find ${S}/ada -name '*.ad[sb]'`; do \
>		sed -i -e "s/\"gcc\"/\"gnatgcc\"/g" ${i}; \
>	done

<snip>

>	# Make sure we don't overwrite the existing gcc
>	sed -i -e "s/\$(bindir)\/gcov/\$(bindir)\/gnatgcov/" "/tmp/gnat/gcc-2.8.1/Makefile"
>	sed -i -e "s/alias)-gcc/alias)-gnatgcc/g" "/tmp/gnat/gcc-2.8.1/Makefile"

<snip>

>	# Install gnatgcc, tools and native threads library
>	make LANGUAGES="c ada gcov" GCC_INSTALL_NAME=gnatgcc \
>		install-common install-libgcc install-gnatlib install-driver

Instead of doing these edits etc might it not be better to build gnat
as gcc but install it in a separate directory (/opt/gnat?) and put
Simon Wright's gnatfe script (see http://www.pushface.org/gnatfe/) in
/usr/bin?

--
Chris M. Moore
Software engineer
speaking for myself



  parent reply	other threads:[~2003-07-24  8:50 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
2003-07-23 12:30                       ` Preben Randhol
2003-07-24  8:50                   ` Chris M. Moore [this message]
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