diff -ur vmw.orig/src/Makefile.SCO_SV vmw/src/Makefile.SCO_SV --- vmw.orig/src/Makefile.SCO_SV 2006-03-17 15:42:58.000000000 -0500 +++ vmw/src/Makefile.SCO_SV 2007-05-10 13:08:18.000000000 -0500 @@ -1,21 +1,33 @@ # makefile for SCO OpenServer # # Copyright (c) 2006 Ken Kato +# +# The latest vmw uses 64-bit integers which are not supported by the SCO +# compilers. +# SCO OpenServer 5.0.x builds require you to use a custom gcc toolchain. +# +# This build has been tested on gcc-3.4.4 using binutils-2.16.1 both +# built from source. I don't think the SCO-provided gcc-2.95.6 supports +# long long. +# Since we are using a GNU toolchain, we can now use the standard gas version +# of vmcall.s John Morris (5/10/07) mailjohnmorris@gmail.com +# +# -AS = as +AS = gas ASFLAGS = -CC = cc +CC = gcc CFLAGS = -O LD = $(CC) LDFLAGS = -VMCALL_O = vmcall.sco.o +VMCALL_O = vmcall.gas.o -CPPFLAGS = -DHAVE_STDINT_H -DHAVE_SETTIMEOFDAY -DHAVE_SIGLONGJMP -DHAVE_USLEEP -DHAVE_ICONV_H +CPPFLAGS = -DPATH_MAX=256 -DHAVE_SETTIMEOFDAY -DHAVE_SIGLONGJMP -DHAVE_USLEEP -VMWLIB = -lrt +VMWLIB = SHRLIB = FTPLIB =