From owner-freebsd-ports Fri May 12 15:47:42 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA12336 for ports-outgoing; Fri, 12 May 1995 15:47:42 -0700 Received: from localhost (localhost [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA12329 ; Fri, 12 May 1995 15:47:41 -0700 Message-Id: <199505122247.PAA12329@freefall.cdrom.com> X-Authentication-Warning: freefall.cdrom.com: Host localhost didn't use HELO protocol To: nils@guru.ims.uni-stuttgart.de (Cornelis van der Laan) Cc: ports@FreeBSD.org Subject: Re: lang/gnat In-reply-to: Your message of "Fri, 12 May 95 13:38:00 +0700." Date: Fri, 12 May 1995 15:47:41 -0700 From: Joshua Peck Macdonald Sender: ports-owner@FreeBSD.org Precedence: bulk > > gcc: installation problem, cannot exec gnat1: No such file or directory > > gmake: *** [ada.o] Error 1 > > *** Error code 2 > > [...] > > > after linking the cc_int library. The problem is, gnat1 doesn't exist > > anywhere on the system at this point (not even in work/gnat-2.03-src). > > As I noted in the Makefile, you need a binary of gnat to compile gnat. > > So where's the binary? If the network permits, have a look at > /ftp.ims.uni-stuttgart.de:/pub/unix/FreeBSD/gnat-2.03-FreeBSD-2.0.tar.gz > > The contents are to be installed in /usr/bin, /usr/libexec, /usr/adainclude > and /usr/lib/adalib. Maybe someone builds a new gnat to be installed in > /usr/local and puts a package on the CD? This seems to be a lot like the g77 port. It doesn't seem to compile on thud for the same reason g77 didn't. The configure script is the same as the one for g77, which leads me to beleive that the changes I made to allow g77 to work in /usr/local/lib and /usr/local/libexec will work for gnat too. All it requires is a simple mod to Makefile.inc from the root of the source tree: CFLAGS+= -DSTANDARD_EXEC_PREFIX=\"${PREFIX}/libexec/\" CFLAGS+= -DSTANDARD_STARTFILE_PREFIX=\"${PREFIX}/lib/\" This will tell it to look in the right place. I would do it (in time for the code freeze) except I have finals and don't know a bit of ada to see if I'm doing anything right and don't even know of any ada code I could test it on ( I tested g77 on several fortran libraries ). If you (Nils) or anyone else would like to see this port working for the freeze they should take a look at the changes I made to the g77 port, they should make gnat work fine. -josh > > Another note: compiling 2.04 with 2.03 is a hassle and currently does not > work correctly. Essentially, you have to do two compilations. I'll try > 2.05 if it comes out. > > Nils > > ---------------------------------------------------------------- > Cornelis van der Laan -- nils@ims.uni-stuttgart.de > -- nils@guru.stgt.sub.org > # echo echo Knusper Knusper Knaeuschen > /etc/nologin