Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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

steve@wgco.de 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:
>http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
>Archives: http://caml.inria.fr
>Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>Bug reports: http://caml.inria.fr/bin/caml-bugs
>  
>