*BSD News Article 43117


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!Germany.EU.net!news.dfn.de!Radio-MSU.net!news.uni-stuttgart.de!nils
From: nils@guru.stgt.sub.org (Cornelis van der Laan)
Newsgroups: comp.os.386bsd.apps
Subject: ANNOUNCEMENT and QUESTIONS: GNAT 2.03 for FreeBSD 2.0
Date: 03 Mar 1995 22:11:25 GMT
Organization: Mehr Anarchie !
Lines: 40
Distribution: world
Message-ID: <NILS.95Mar3231125@guru.stgt.sub.org>
Reply-To: nils@guru.ims.uni-stuttgart.de
NNTP-Posting-Host: guru.ims.uni-stuttgart.de

Hi all, 

I'd like to integrate gnat as part of the gnu compiler (like the newly
released fortran compiler g77) into the FreeBSD source tree. 

There is one major problem, recompilation, which makes this probably a bad
idea: Gnat needs a running gnat1 binary and the ada library to recompile
itself. This will be a problem, if no binaries are available, eg, if no CD
or binary distribution of the system is at hand. And you can break your
system if you install a defective gnat1 binary in /usr/libexec or a
defective ada library (but this is like installing a new copy of gcc, 
isn't it? No testing asks for trouble...).

So, what do people think about this integration?

When I compiled gnat 2.03 for my FreeBSD 2.0 box, I decided to put the
binaries, include and library files into the /usr tree at the following
locations:

  /usr/libexec/gnat1			(cc/gcc knows about this location)
  /usr/adainclude                       (like /usr/include)
  /usr/lib/adalib                       (should this be /usr/adalib?)
  /usr/bin/gnatchop,gnatbind,...        (binder and chopping utilities etc)

Are these pathnames OK or should I use sth else? Or should I keep it all
out of /usr and stuff it in /usr/local?

Any comments appreciated.

A preliminary release of my current binaries using the above mentioned
paths is available as

ftp.ims.uni-stuttgart.de:/pub/unix/FreeBSD/gnat-2.03-FreeBSD-2.0.tar.gz

Nils
--
----------------------------------------------------------------
Cornelis van der Laan -- nils@ims.uni-stuttgart.de
                      -- nils@guru.stgt.sub.org
# echo Knusper Knusper Knaeuschen > /etc/nologin