Version française
Home     About     Download     Resources     Contact us    
Browse thread
Ocaml x86/32 bits on Linux/AMD64
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Basile STARYNKEVITCH <basile@s...>
Subject: Ocaml x86/32 bits on Linux/AMD64
Hello All

(I'm considering coding some 32bits CGI on my AMD64 Debian/Sid desktop, so...)

Does anyone know how to compile an ocamlopt generating 32 bits ELF binaries
on a Debian/Sid/AMD64 GNU/Linux desktop.

I would like to avoid the usual 32bits chroot solution....

configuring ocaml with CC='gcc -m32' is apparently not enough

Regards

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/ 
email: basile<at>starynkevitch<dot>net 
mobile: +33 6 8601 2359 
8, rue de la Faïencerie, 92340 Bourg La Reine, France