Date: Thu, 11 May 1995 23:40:13 -0700 From: asami@CS.Berkeley.EDU (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) To: nils@guru.ims.uni-stuttgart.de Cc: ports@FreeBSD.org Subject: lang/gnat Message-ID: <199505120640.XAA03579@forgery.CS.Berkeley.EDU>
next in thread | raw e-mail | index | archive | help
Cornelis, Can you take a look at this port? I tried to compile it, and it fails saying: ===== : tsort: bc-optab.o ranlib libcc_int.a cd /e/work/asami/ports/lang/gnat/work/gnat-2.03-src/ada; gmake CC="gcc" COMPILERSOURCE="/usr/src/gnu/usr.bin/cc" gcc -c -O2 -I. -I../gcc -I/usr/src/gnu/usr.bin/cc/include -gnatg -gnata ada.ads gcc: installation problem, cannot exec gnat1: No such file or directory gmake: *** [ada.o] Error 1 *** Error code 2 Stop. *** Error code 1 Stop. ===== 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). Below are the changes I made. The CC line change is because there is no "gcc-2.6.3" in the system, and PREFIX is for not putting things in /usr. (Jeffrey made g77 install in /usr/local -- I think we can do the same for gnat too?) Thanks.... Satoshi ------- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/gnat/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- 1.4 1995/04/24 11:29:14 +++ Makefile 1995/05/12 02:33:08 @@ -14,7 +13,7 @@ EXTRACT_SUFX= .tar.gz # You need a compiler who calls an existing gnat compiler: -CC = gcc-2.6.3 +CC = gcc # You have to tell me where your gcc 2.6.3 source is located COMPILERSOURCE = /usr/src/gnu/usr.bin/cc @@ -27,7 +26,7 @@ # This is for the package: target. I decided to install the Ada compiler # as /usr/libexec/gnat1, the rest in /usr/local/{bin,adainclude,adalib}. -PREFIX = /usr +# PREFIX = /usr pre-build: @echo "===> Building patched gcc library for ${DISTNAME}" Index: scripts/configure =================================================================== RCS file: /home/ncvs/ports/lang/gnat/scripts/configure,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 configure --- 1.1.1.2 1995/04/25 11:19:15 +++ configure 1995/05/12 05:33:26 @@ -10,9 +10,9 @@ cd gcc ln -s ${COMPILERSOURCE}/cc/* . -rm -f Makefile 00_TRANS.TBL CVS +rm -f Makefile 00_TRANS.TBL CVS obj ln -s ${COMPILERSOURCE}/cc_int/* . -rm -f Makefile 00_TRANS.TBL CVS +rm -f Makefile 00_TRANS.TBL CVS obj ln -s ${COMPILERSOURCE}/include/tree.h . ln -s ${COMPILERSOURCE}/include/expr.h . echo "#include <config.h>" > hconfig.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505120640.XAA03579>