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
OCamlon 64 Bit-Sun compiled as 32-Bit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-09-16 (20:59)
From: Martin S. Weber <Ephaeton@g...>
Subject: Re: [Caml-list] OCamlon 64 Bit-Sun compiled as 32-Bit
Hoi & ugh.

On Sat, Sep 16, 2006 at 10:00:56PM +0200, Oliver Bandel wrote:
> On Sat, Sep 16, 2006 at 09:55:45PM +0200, Martin S. Weber wrote:
> > (...)
> > See if you can pass a CPPFLAGS=-m64 to your compiler (gcc option,
> > if you're using sunpro pass the appropriate flag to the compiler
> > to enable/force 64bit compiling)...
> [...]
> I doubt setting gcc-Flags make sense, if this is not a flag,
> that the ./configure-script inthe sources-directory accepts.

My fault. I'm used to autoconf scripts, and setting the environment
variable 'CPPFLAGS' (C pre processor flags) will pass additional
flags to the C compiler. This doesn't seem to be an autoconf build
though, sorry.

What I said about code generation and the default setting of your
machine's host compiler remains true :)

> (...)
> At least theconfigure-script did not find out that the machine
> is a 64-Bit's machine. So at least the config-script could be
> changed. (Or there is an 64-Bit-option, which I didn't checked,
> because I thought, it will find it out by itself.

It did not find an 64bit env because your compiler by default
doesn't offer a 64bit env :)

Good luck ...