[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#551763: License for FOCAL Interpreter



Hi,

Sorry for the slight delay, one of my testboxes was down so I had to
request for remote access on another.

On 12/10/2009 12:23 PM, Dave Pitts wrote:
>> Also, just a little reminder that you might want to update the link on
>> your homepage to point to the latest tarball
>> (http://www.cozx.com/~dpitts).
>>   
> I was waiting to change things until we were totally happy....
> New tarball in the same place. When you're good with it, I'll change the
> link.

That makes sense; thanks for the install path changes. There's one more
change I'd suggest: the interpreter works fine on two more kernels than
the ones in the Makefile. I tested it on both GNU/Hurd and GNU/kFreeBSD,
and it seems to work fine.

So I'd suggest applying the attached patch. I chose "gnuhurd" and
"gnukfreebsd" for the names in the targets, if you'd prefer something
else that's understandable.

Other than that I think it looks perfect.

Daniel
diff --git a/Makefile b/Makefile
index 1e6a62c..af93e00 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,14 @@ all :
 		echo "Making Linux on a `uname -m`" ;\
 		make $(TARGETS) \
 		   "CFLAGS = -O2 -DSYSVDIR -DSTRERROR -DANSICRT $(DEBUG)" ;\
+	elif [ "`uname -s`" = "GNU/kFreeBSD" ]; then \
+		echo "Making GNU/kFreeBSD on a `uname -m`";\
+		make $(TARGETS) \
+           "CFLAGS = -O2 -DSYSVDIR -DSTRERROR -DANSICRT $(DEBUG)" ;\
+	elif [ "`uname -s`" = "GNU" ] ; then \
+		echo "Making GNU/Hurd on a `uname -m`";\
+		make $(TARGETS) \
+		   "CFLAGS = -O2 -DSYSVDIR -DSTRERROR -DANSICRT $(DEBUG)" ;\
 	elif [ "`uname -s`" = "OS/390" ] ; then \
 		echo "Making OS/390 USS" ;\
 		make $(TARGETS) "CC=cc" \
@@ -47,7 +55,7 @@ all :
 	else \
 		echo "OS type `uname -s` is unknown" ;\
 		echo "You must enter an OS type. OS types are:" ;\
-		echo "   linux | nt | openmvs | openvms | os2 | riscos | solaris | sunos" ;\
+		echo "   linux | nt | openmvs | openvms | os2 | riscos | solaris | sunos | gnuhurd | gnukfreebsd" ;\
 		echo " " ;\
 		echo "For IBM OS/390 you have the choices:" ;\
 		echo "   dignusdcc | dignusgcc | mvs" ;\
@@ -75,6 +83,16 @@ linux :
 		"CFLAGS = -O2 -DSYSVDIR -DSTRERROR -DANSICRT $(DEBUG)" \
 		$(PARM)
 
+gnuhurd :
+	@make focal$(EXE) \
+		"CFLAGS = -O2 -DSYSVDIR -DSTRERROR -DANSICRT $(DEBUG)" \
+		$(PARM)
+
+gnukfreebsd :
+	@make focal$(EXE) \
+	    "CFLAGS = -O2 -DSYSVDIR -DSTRERROR -DANSICRT $(DEBUG)" \
+        $(PARM)
+
 solaris :
 	@make focal$(EXE) \
 		"CFLAGS = -O -DSYSVDIR -DSTRERROR -DANSICRT $(DEBUG)" \

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: