*BSD News Article 35612


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!library.ucla.edu!csulb.edu!nic-nac.CSU.net!charnel.ecst.csuchico.edu!yeshua.marcam.com!news.kei.com!news.byu.edu!cwis.isu.edu!u.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (Terry Lambert)
Newsgroups: comp.os.386bsd.apps
Subject: Re: Gnats on FreeBSD
Date: 9 Sep 1994 05:07:53 GMT
Organization: Weber State University, Ogden, UT
Lines: 47
Message-ID: <34oqj9$56b@u.cc.utah.edu>
References: <349dnu$ce9@nyheter.chalmers.se> <JKH.94Sep3055945@time.cdrom.com>
NNTP-Posting-Host: cs.weber.edu

In article <JKH.94Sep3055945@time.cdrom.com> jkh@time.cdrom.com (Jordan K. Hubbard) writes:
] In article <349dnu$ce9@nyheter.chalmers.se> dana@me.chalmers.se (Dan Andersson) writes:
] 
]    Is there anyone that have successfully ported the gnat-1.80 or 1.81 on
]    FreeBSD ? Even older versions will be enough for bootstrapping the later
]    releases.
] 
] Yes, and it's going to be an integral part of bug tracking for FreeBSD
] 2.0, in fact.  Talk to Paul Richards for more info (paul@freefall.cdrom.com),
] he can direct you at the port.

Well, I may be wrong, but I thing the thing in question is the GNU Ada
Translater (gnat vs. gnats), but I don't know if the subject is wrong or
the content.

If the subject, yes, I ported it over; it's a big job, since the thing
prettty much is set up in the Makefile dependencies after patching to
require a working copy to make a working copy.

I used the SunOS 4 version to *manually* translate the dependent files
into C, and then used the C code on FreeBSD with manual commands to build
object files newer than the source files.

After the first build, save all binaries and hack your path several
times while running the make to get it to work.

The main problem with it that I saw is that it interfered with the ability
to build a working g++ by default, so it wasn't a good thing for default
inclusion.

Mostly I did it to say that I had a certified Ada on my BSD box (although
the NYU certification is a bit out of date).

I don't see any real alternatives unledd you wanted to seriously pound
on the bootstrap configuration and compilation tools to make it build
from scratch.  This would be necessary anyway, since g++ is a requirement
but gnat is just something nifty.

Sorry, can't send the stuff I did, but this should point you in the right
direction, at least.


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.