Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/runtime/objs/mk.x86-linux-pthreads
ViewVC logotype

View of /sml/trunk/runtime/objs/mk.x86-linux-pthreads

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3964 - (download) (annotate)
Sat Oct 11 19:28:40 2014 UTC (4 years, 10 months ago) by jhr
File size: 692 byte(s)
added -D_FILE_OFFSET_BITS=64 flag for x86-linux
# mk.x86-linux
#

SHELL =		/bin/sh

MAKE =		make
CC =		gcc -ansi
CFLAGS =	-O2 -D_REENTRANT
CPP =		gcc -x assembler-with-cpp -E -P
#XOBJS =	xmonitor.o
#LD_LIBS =	-lX11
#BASE_DEFS =	-DHEAP_MONITOR
XOBJS =
XLIBS =		../c-libs/dl/libunix-dynload.a
LD_LIBS =	-ldl -lpthread
XDEFS =
BASE_DEFS =
DEFS		= $(XDEFS) $(BASE_DEFS) -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_POSIX_SOURCE -D_BSD_SOURCE -DGNU_ASSEMBLER -DDLOPEN
TARGET =	X86
VERSION =	v-x86-linux-pthreads
RUNTIME =	run.x86-linux

all:
	($(MAKE) RUNTIME="$(RUNTIME)" VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(CFLAGS)" CPP="$(CPP)" TARGET=$(TARGET) DEFS="$(DEFS)" XOBJS="$(XOBJS)" XLIBS="$(XLIBS)" LD_LIBS="$(LD_LIBS)" $(RUNTIME))

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0