Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
NetBsdSourceCode
Last updated at 5:22 pm UTC on 12 March 1999
GregOster WATANABE Katsuhiro SqueakPorts

Greg Oster says: The changes to the GNUmakefile.conf and sqConfig.h files were minor. "I'm certainly no Squeak expert, and I've only lightly tested things, but it looks like it's working."

WATANABE Katsuhiro modified Greg Oster's work in order to support sparc architecture machines' NetBSD.

Additions to GNUmakefile.conf

 ifeq ($(SYSTEM),       netbsd)
CC= gcc
CCFLAGS:= -O2 -g $(PROFILE) -I/usr/X11R6/include
LDO= ld -r
LD= gcc
LDFLAGS:= $(PROFILE)
LIBDIRS= -L/usr/X11R6/lib
LIBS= -lX11 -lXext -lm
GNU= gnu-
GAWK= awk
endif

End of Additions to GNUmakefile.conf

Additions to sqConfig.h

 #if defined(__NetBSD__)
# if defined(i386) /* iX86/NetBSD */
# if defined(SQ_CONFIG_DONE)
# error configuration conflict
# endif
# undef HAS_D_NAMLEN
# undef HAS_TIMEZONE
# undef HAS_ON_EXIT
# define HAS_LSB_FIRST
# undef HAS_SUN_AUDIO
# undef DOUBLE_WORD_ALIGNMENT
# define DOUBLE_WORD_ORDER
# define JUMP_ALIGN_BYTE
# define SQ_CONFIG_DONE
# endif
# if defined(sparc) /* sparc/NetBSD */
# if defined(SQ_CONFIG_DONE)
# error configuration conflict
# endif
# undef HAS_D_NAMLEN
# undef HAS_TIMEZONE
# undef HAS_ON_EXIT
# define HAS_MSB_FIRST
# undef HAS_SUN_AUDIO
# define DOUBLE_WORD_ALIGNMENT
# undef DOUBLE_WORD_ORDER
# define SUN_FUN_KEYS
# define JUMP_ALIGN_STRICT
# define SQ_CONFIG_DONE
# endif
#endif

End of Additions to sqConfig.h



Squeak 2.3 need some patches for pluggable primitives on NetBSD/i386.
You can get them on http://www.fang.demon.co.uk/squeak.html

Douglas Brebner