Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] VxWorks? mailing list?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-30 (18:13)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] VxWorks? mailing list?
On Sun, Mar 30, 2003 at 12:26:43PM +0200, Xavier Leroy wrote:

> I have no experience with VxWorks, but from their Web site it appears
> to be POSIX-compliant.  If so, chances are very high that the bytecode
> interpreter will compile and work right out of the box.  For the
> native-code compiler, the porting effort can range from the trivial
> (e.g. one of the supported configurations just happens to work) to the
> fairly hard (e.g. a new code generator has to be written).  It's not
> possible to say without more details on the target platform and
> environment.

It might be a little harder than just compiling to get the byte code
interpreter working.  It depends on the byte-code interpreters demand
for memory management.  Most VxWorks systems I use just have a single
address space.  VxWorks can be thought of as a single task on a Posix
system with multiple threads.

It also don't have a normal shell and that kind of stuff, so the code
would have to be byte-compiled on one machine and moved over.  It would
probably be easiest to use -output-obj to have the linker include the

Cross compilation didn't look that easy last time I thought about trying
to do it.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: