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
Crosscompiling for mipsel cpu's ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-01-12 (03:27)
From: Taras Glek <taras.judge@s...>
Subject: Re: [Caml-list] Crosscompiling for mipsel cpu's ?
Hi Steve,
I run an ocaml program on my mipsel wrt54gs router. OCaml was not setup
for crosscompiling, but it was quite easy to crosscompile the interpreter.
Just configure ocaml normally(using the host compiler), then go to
byterun directory and do "make BYTECC=gcc-mipsel-blabla". The harder
part was compiling the Unix library, but I did succeed.
Now I have an ocaml runtime on my wireless router taking up just over
500K including my application. Just try doing that in Java or even SML.

Taras wrote:

> Hi,
> I’m trying to port an Ocaml program to a mipsel platform.
> I searched the internet for tutorials but the only thing I found was a 
> patch for arm and powerpc.
> Can anyone give me some information / help to build Ocaml for cross 
> compiling to mipsel?
> Best regards
> Steve
>Caml-list mailing list. Subscription management:
>Beginner's list:
>Bug reports: