Building Squeak VM Under Mac OS X 10.2 (Jaguar)
Ned Konz
ned at bike-nomad.com
Fri Aug 30 14:44:08 UTC 2002
On Friday 30 August 2002 01:44 am, Marcel Weiher wrote:
> On Friday, August 30, 2002, at 03:51 Uhr, Andrew C. Greenberg
wrote:
> > I seem to be having problems building a vm after installing Mac
> > OS X 10.2 (Jaguar) and the new development tools. On interp.c, I
> > get bugs starting with the line defining "int bool;" and
> > apparently cascading therefrom.
Hmm. bool is a reserved word for C99, I believe (see stdbool.h). We
should probably change the Slang source.
Try to tell your compiler that the source is plain _OLD_ C (i.e. not
C99). Or see if 2.95 works for you, as Marcel suggested.
Or, just have gnuify fix the problem:
--- ./platforms/unix/config/gnuify Sat May 4 22:50:08 2002
+++ newgnuify Fri Aug 30 07:42:13 2002
@@ -45,6 +45,8 @@
stage= 0;
}
+/\<bool\>/ { gsub(/\<bool\>/, "safebool") }
+
/#include "sq.h"/ {
print "#include \"sqGnu.h\"\n";
next;
@@ -140,6 +142,7 @@
next;
}
+
# default
{
print;
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|