misc.c: ajout d'un cast

Makefile.Mac: suppression de -opt speed, ajout -d _STDC_


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1151 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 1996-11-06 16:51:11 +00:00
parent 38b502aa70
commit 284a90de8b
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C = sc C = sc
COptions = -opt speed -model far -w 7 COptions = -model far -d _STDC_ -w 7
AOptions = -model far -wb AOptions = -model far -wb
LinkOptions = -model far -msg nodup -compact -state nouse LinkOptions = -model far -msg nodup -compact -state nouse
Libs = "{libraries}IntEnv.far.o" "{libraries}MacRuntime.o" Libs = "{libraries}IntEnv.far.o" "{libraries}MacRuntime.o"
@ -7,11 +7,11 @@ Libs = "{libraries}IntEnv.far.o" "{libraries}MacRuntime.o"
"{libraries}ToolLibs.o" "{libraries}Interface.o" "{libraries}ToolLibs.o" "{libraries}Interface.o"
PPCC = mrc PPCC = mrc
PPCCOptions = -w 7 -w 35 PPCCOptions = -w 7 -w 29 -w 35
PPCLinkOptions = -d PPCLinkOptions = -d
PPCLibs = "{sharedlibraries}MathLib" "{ppclibraries}PPCCRuntime.o" PPCLibs = "{sharedlibraries}MathLib" "{ppclibraries}PPCCRuntime.o"
"{ppclibraries}PPCToolLibs.o" "{sharedlibraries}StdCLib" "{ppclibraries}PPCToolLibs.o" "{sharedlibraries}StdCLib"
"{ppclibraries}StdCRuntime.o" "{sharedlibraries}InterfaceLib" "{ppclibraries}StdCRuntime.o" "{sharedlibraries}InterfaceLib"
OBJS = interp.a.o misc.c.o stacks.c.o fix_code.c.o startup.c.o main.c.o ¶ OBJS = interp.a.o misc.c.o stacks.c.o fix_code.c.o startup.c.o main.c.o ¶
freelist.c.o major_gc.c.o minor_gc.c.o memory.c.o alloc.c.o roots.c.o ¶ freelist.c.o major_gc.c.o minor_gc.c.o memory.c.o alloc.c.o roots.c.o ¶
@ -40,7 +40,7 @@ ocamlrun
libcamlrun.o {Libs} libcamlrun.o {Libs}
ocamlrun ÄÄ libcamlrun.x prims.c.x ocamlrun ÄÄ libcamlrun.x prims.c.x
PPCLink -c 'MPS ' -t MPST {PPCLinkOptions} -o ocamlrun prims.c.x ¶ ppclink -c 'MPS ' -t MPST {PPCLinkOptions} -o ocamlrun prims.c.x ¶
libcamlrun.x {PPCLibs} libcamlrun.x {PPCLibs}
libcamlrun.o Ä {OBJS} libcamlrun.o Ä {OBJS}
@ -98,10 +98,10 @@ opnames.h
instruct.h > opnames.h instruct.h > opnames.h
rotatecursor.c.o Ä rotatecursor.c.o Ä
{C} rotatecursor.c -o rotatecursor.c.o {COptions} -b {C} -b rotatecursor.c -o rotatecursor.c.o {COptions}
md5.c.x Ä md5.c.x Ä
{PPCC} md5.c -o md5.c.x {PPCCOptions} -opt off {PPCC} -opt off md5.c -o md5.c.x {PPCCOptions}
depend Ä prims.c opnames.h depend Ä prims.c opnames.h
MakeDepend Å.c > Makefile.Mac.depend makedepend Å.c > Makefile.Mac.depend

View File

@ -47,7 +47,7 @@ void gc_message (msg, arg)
{ {
if (verb_gc){ if (verb_gc){
#ifdef HAS_UI #ifdef HAS_UI
ui_print_stderr(msg, arg); ui_print_stderr(msg, (void *) arg);
#else #else
fprintf (stderr, msg, arg); fprintf (stderr, msg, arg);
fflush (stderr); fflush (stderr);