From 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sat, 18 Sep 2010 20:47:21 +0200 Subject: Major overhaul and cleanup. Support for .ubi image file installations. Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386. --- sc/patches/makefile.patch | 11 +++++++++++ sc/patches/xmalloc.patch | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 sc/patches/makefile.patch create mode 100644 sc/patches/xmalloc.patch (limited to 'sc/patches') diff --git a/sc/patches/makefile.patch b/sc/patches/makefile.patch new file mode 100644 index 0000000..f8a5b90 --- /dev/null +++ b/sc/patches/makefile.patch @@ -0,0 +1,11 @@ +--- sc-7.15/Makefile 2001-11-06 01:37:05.000000000 +0100 ++++ sc-7.15mod/Makefile 2010-05-26 13:42:54.000000000 +0200 +@@ -299,7 +299,7 @@ + + ######################################### + # Use this for Linux +-CC=gcc ++#CC=gcc + # Only use -Wall for testing, since it produces warnings that are of no + # real effect on the reliability of the program, but may concern some + # people who don't understand them. diff --git a/sc/patches/xmalloc.patch b/sc/patches/xmalloc.patch new file mode 100644 index 0000000..3777e7e --- /dev/null +++ b/sc/patches/xmalloc.patch @@ -0,0 +1,11 @@ +--- sc-7.15/xmalloc.c 2001-11-06 01:41:58.000000000 +0100 ++++ sc-7.15mod/xmalloc.c 2010-05-24 14:38:54.000000000 +0200 +@@ -6,7 +6,7 @@ + #include + #include "sc.h" + +-extern char *malloc(); ++/*extern char *malloc();*/ + extern char *realloc(); + extern void free(); + void fatal(); -- cgit v1.2.3