Dans header.c, visser en dur le chemin $(BINDIR)/ocamlrun

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1314 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1997-03-04 10:21:27 +00:00
parent 3693be4981
commit 73fafe47ff
2 changed files with 4 additions and 3 deletions

View File

@ -35,8 +35,9 @@ stdlib.cmxa: $(OBJS:.cmo=.cmx)
camlheader: header.c ../config/Makefile
if $(SHARPBANGSCRIPTS); \
then echo "#!$(BINDIR)/ocamlrun" > camlheader; \
else $(BYTECC) $(BYTECCCOMPOPTS) $(BYTECCLINKOPTS) header.c -o camlheader; \
strip camlheader; fi
else $(BYTECC) $(BYTECCCOMPOPTS) $(BYTECCLINKOPTS) '-DRUNTIME_NAME="$(BINDIR)/ocamlrun"' header.c -o camlheader; \
strip camlheader; \
fi
clean::
rm -f camlheader

View File

@ -11,7 +11,7 @@
/* $Id$ */
char * runtime_name = "ocamlrun";
char runtime_name [] = RUNTIME_NAME;
char errmsg [] = "Cannot exec ocamlrun.\n";
int main(argc, argv)