2.3 for Unix

Bruce O'Neel bruce_oneel at yahoo.com
Tue Feb 2 10:27:57 UTC 1999


Hi,
  Using Ian's Solaris 2.5.1 build both the Balloon example from the
ReadMe, ie:  
(FlashMorphReader on: (HTTPSocket httpGet:
'http://www.audi.co.uk/flash/intro1.swf' 
	accept:'application/x-shockwave-flash')) processFile.

as well as the "Play with me 3 (16 bits)" both work.  Actually, "Play
with me 3" doesn't quite work, ie, the colors are wrong but that's not
Squeaks fault, just the fault of the cheap video card on my system :-)

cheers

bruce

Markus Kohler <markus_kohler at hp.com> wrote:
>
> Ian Piumarta wrote:
> > 
> > ftp://alix.inria.fr/pub/squeak/unix/2.3 contains the usual stuff
for:
> > 
> >         alpha-osf1-v4.0
> >         i386-linux-2.0.36       (linked against glibc-2.0.7)
> >         i386-linux-2.1.24       (linked against libc-5.4.38)
> >         sparc-solaris-2.5.1
> >         sparc-sunos-4.1.4
> > 
> 
> Can anyone confirm that Ballon works on these platforms ?
> I got 2.3 running on HP-UX now, but Ballon doesn't work. 
> In fact the primitives for Ballon are failing. 
> I really don't understand why because the failing primitive is
> defined in my interpreter C-file. It is the primitive
> primInitializeBuffer. 
> 
> Also I think we should catch this kind of errors. In this case Squeak
> just hangs. It would be better if I would get a primitiveFailed
> exeption.
> 
> 
> By the way I had to manually change the makefile, this has been a 
> problem with HP-UX at least since 2.1.  
> I think we should fix that this time. Attached my makefile
configuration
> file.
>  It might not be perfect, but at least it works now . 
> 
> 
> 
> 
> 
> -- 
> Markus Kohler  mailto:markus_kohler at hp.com>
> # -*- Makefile -*- configuration for Unix Squeak!
> #
> # last edited: Fri Jan  8 14:26:57 1999 by piumarta (Ian Piumarta)
on lebrac
> 
> SQUEAKCONF=	GNUmakefile.conf
> SQUEAKLIST=	squeak at cs.uiuc.edu
> 
> # paths to sources and utilities
> 
> ifeq ($(wildcard ../src),../src)
>   SRC=		../src/
> endif
> 
> ifeq ($(wildcard ../util),../util)
>   UTIL=		../util/
> endif
> 
> SQCAT:=		$(UTIL)sqcat
> 
> ifeq ($(VMGEN),interp.c)
>   GNUIFY:=	$(SRC)gnuify.trad
> else
>   GNUIFY:=	$(SRC)gnuify
> endif
> 
> VPATH:=		$(SRC)
> 
> # platform identification
> 
> #UTSMAC:=	$(shell arch     | tr [A-Z] [a-z])
> UTSMAC:=	$(shell uname -m | tr [A-Z] [a-z])
> UTSSYS:=	$(shell uname -s | tr [A-Z] [a-z] | sed 's/-//g')
> UTSREL:=	$(shell uname -r | tr [A-Z] [a-z])
> 
> #debugMake:
> #	@echo $(UTSMAC)
> #	@echo $(UTSSYS)
> #	@echo $(UTSREL)
> 
> 
> ifeq ($(UTSMAC),i686)
>   UTSMAC:=i386
> endif
> 
> ifeq ($(UTSMAC),i586)
>   UTSMAC:=i386
> endif
> 
> ifeq ($(UTSMAC),i486)
>   UTSMAC:=i386
> endif
> 
> ifneq ($(findstring sun4,$(UTSMAC)),)
>   MACHINE:=sparc
> else
>   MACHINE:=$(UTSMAC)
> endif
> 
> 
> 
> ifneq ($(findstring sunos-5,$(UTSSYS)-$(UTSREL)),)
>   SYSTEM:=solaris
>   RELEASE:=$(subst 5.5,2.5,$(UTSREL))
> else
>   SYSTEM:=$(UTSSYS)
>   RELEASE:=$(UTSREL)
> endif
> 
> ifeq ($(UTSSYS),irix) 
>   MACHINE:=SGI 
> endif
> 
> ifeq ($(UTSSYS),irix32) 
>   MACHINE:=SGI
>   UTSSYS:=irix 
> endif
> 
> ifeq ($(UTSSYS),irix64) 
>   MACHINE:=SGI
>   UTSSYS:=irix 
> endif
> 
> ifeq (hpux,$(UTSSYS))
>   SYSTEM:=hpux
>   MACHINE:=hppa
> endif
> 
> 
> 
> VMBUILD:=	$(MACHINE)-$(SYSTEM)-$(RELEASE)
> VMARCH:=	$(VMBUILD)
> 
>
############################################################################
> #									   #
> #			START OF CONFIGURATION SECTION			   #
> #									   #
> ifeq ($(SYSTEM),					linux)
>   CC=		gcc
>   CCFLAGS:=	-O6  $(PROFILE) # -fomit-frame-pointer
> ifeq ($(UTSMAC),i386)
>   CCFLAGS+=	-malign-functions=2 -malign-jumps=3 -malign-loops=2
> endif
>   LDO=		ld -r
>   LD=		gcc -rdynamic
>   LDFLAGS:=	 $(PROFILE)
>   LIBDIRS=	-L/usr/X11R6/lib
>   LIBS=		-lX11 -lXext -lm -ldl
>   GNU=		gnu-
>   GAWK=		awk
> endif
> 
> ifeq ($(SYSTEM),					freebsd)
>   CC=		gcc
>   CCFLAGS:=	-O3 -fexpensive-optimizations -fomit-frame-pointer
$(PROFILE)
>   INCDIRS:=	-I/usr/X11R6/include
>   LDO=		ld -r
>   LD=		gcc
>   LDFLAGS:=	$(PROFILE)
>   LIBDIRS=	-L/usr/X11R6/lib
>   LIBS=		-lX11 -lXext -lm -ldl
>   GNU=		gnu-
>   GAWK=		awk
> endif
> 
> ifeq ($(MACHINE)-$(SYSTEM),				alpha-osf1)
>   CC=		$(UTIL)decgcc
>   CCFLAGS:=	-O2 -g $(PROFILE)
>   LDO=		ld -taso -r
>   LD=		cc
>   LDFLAGS:=	-taso $(PROFILE)
>   LIBS=		-lX11 -lXext -lm
>   GNU=		gnu-
>   GAWK=		gawk
> endif
> 
> ifeq ($(MACHINE)-$(SYSTEM),				sparc-solaris)
>   CC=		gcc
>   CCFLAGS:=	-O2 -g $(PROFILE)
>   INCDIRS=	-I/usr/openwin/include
>   LDO=		ld -r
>   LD=		gcc
>   LDFLAGS:=	$(PROFILE)
>   LIBDIRS=	-L/usr/openwin/lib
>   LIBS=		-lX11 -lXext -lm -lsocket -lnsl -ldl
>   GNU=		gnu-
>   GAWK=		gawk
> endif
> 
> ifeq ($(MACHINE)-$(SYSTEM),				sparc-sunos)
>   CC=		gcc
>   CCFLAGS:=	-O2 -g $(PROFILE)
>   LDO=		ld -r
>   LD=		gcc
>   LDFLAGS:=	$(PROFILE)
>   LIBS=		-lX11 -lXext -lm -ldl
>   GNU=		gnu-
>   GAWK=		gawk
> endif
> 
> ifeq ($(MACHINE)-$(SYSTEM),				hppa-hpux)
>   CC=		gcc
>   CCFLAGS:=	-O6 $(PROFILE)
>   LDO=		ld -r
>   LD=		gcc
>   LDFLAGS:=	$(PROFILE)
>   LIBS=		-lX11 -lXext -lm -ldl
>   GNU=		gnu-
>   GAWK=		gawk
> endif
> 
> ifeq ($(SYSTEM),					irix) 
>   CC=		cc -32 -mips2
>   CCFLAGS:=	-O3 $(PROFILE) 
>   LDO=		ld -32 -mips2 -r
>   LD=		cc
>   LDFLAGS=	-mips2 -32 $(PROFILE) 
>   LIBS=		-lX11 -lXext -lm -ldl
>   GNU=
>   GAWK=
> endif
> #									   #
> #		 	END OF CONFIGURATION SECTION			   #
> #									   #
>
############################################################################
> 
> override \
> CFLAGS+= $(CCFLAGS) $(INCDIRS) $(patsubst %,-I%,$(subst :, ,$(VPATH)))
> 
> ifeq ($(VMGEN),translator.c)
>   override CFLAGS+= -DCCACHE
> endif
> 
> # sanity checkpoint
> 
> ifndef LDO
> error:
> 	@echo
> 	@echo "  there is no configuration for $(VMARCH)"		>&2
> 	@echo "  please add one to the file $(SQUEAKCONF)"		>&2
> 
=== message truncated ===
==
Bruce O'Neel - beoneel at acm.org http://homepage.iprolink.ch/~bioneel
The corporate culture is concerned less with Occam's razor than his
aftershave lotion. -- R. L. Peskin <peskin at caip.rutgers.edu>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com





More information about the Squeak-dev mailing list