=== Top of the Swiki === Attachments ===
NetBSD Source Code
GregOster SqueakPorts Squeak 1.3 to NetBSD-1.3/i386.
He 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."
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
#endif
End of Additions to sqConfig.h