caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Stdlib doubts
@ 2000-03-21 21:10 Ravi Chamarty
  2000-03-23 15:39 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Ravi Chamarty @ 2000-03-21 21:10 UTC (permalink / raw)
  To: caml-list

Hi,
  
 In the stdlib directory of ocaml 2.04 , I find the result of make to be
something like what is shown below. What is the significance of
'ocamlrun' here? 

../boot/ocamlrun ../boot/ocamlc -g -nopervasives -c pervasives.mli
../boot/ocamlrun ../boot/ocamlc -g -nopervasives -c pervasives.ml
../boot/ocamlrun ../boot/ocamlc -g -c list.mli 

The problem I face is that I have a ocamlrun cross system which cannot run
on Linux. I am asking this because one can always compile using
'ocamlc' directly ie. without using ocamlrun.

Thanks,
Ravi



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Stdlib doubts
  2000-03-21 21:10 Stdlib doubts Ravi Chamarty
@ 2000-03-23 15:39 ` Xavier Leroy
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2000-03-23 15:39 UTC (permalink / raw)
  To: Ravi Chamarty, caml-list

>  In the stdlib directory of ocaml 2.04 , I find the result of make to be
> something like what is shown below. What is the significance of
> 'ocamlrun' here? 
> 
> ../boot/ocamlrun ../boot/ocamlc -g -nopervasives -c pervasives.mli
> ../boot/ocamlrun ../boot/ocamlc -g -nopervasives -c pervasives.ml
> ../boot/ocamlrun ../boot/ocamlc -g -c list.mli 
> 
> The problem I face is that I have a ocamlrun cross system which cannot run
> on Linux. I am asking this because one can always compile using
> 'ocamlc' directly ie. without using ocamlrun.

Yes, but only once the system has been installed.  (ocamlc is a script
starting with e.g. #!/usr/local/bin/ocamlrun, so it can be run
directly only after ocamlrun is installed in /usr/local/bin.)  While
the system is being built, it is necessary to say where ocamlrun
resides.

For your particular situation (cross-compiling), as I explained to you
before, you want boot/ocamlrun to be the native (not cross-compiled)
runtime system, and byterun/ocamlrun to be the cross-compiled,
runtime system, suitably modified for your target architecture.

- Xavier Leroy



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-03-24 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-21 21:10 Stdlib doubts Ravi Chamarty
2000-03-23 15:39 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).