English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2006-11-03 (11:56)
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


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