1995-08-09 08:06:35 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Objective Caml */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* Automatique. Distributed only by permission. */
|
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
1997-03-04 02:21:27 -08:00
|
|
|
char runtime_name [] = RUNTIME_NAME;
|
1996-09-05 10:35:43 -07:00
|
|
|
char errmsg [] = "Cannot exec ocamlrun.\n";
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
int main(argc, argv)
|
|
|
|
int argc;
|
|
|
|
char ** argv;
|
|
|
|
{
|
|
|
|
execvp(runtime_name, argv);
|
1996-09-05 10:35:43 -07:00
|
|
|
write(2, errmsg, sizeof(errmsg)-1);
|
1995-05-04 03:15:53 -07:00
|
|
|
return 2;
|
|
|
|
}
|