Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamlopt/IRIX
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: [Caml-list] ocamlopt/IRIX
> Is it possible to build the native compiler on IRIX using gcc?

Yes, it works fine here (with gcc 2.95 on IRIX 6.5), but you have
to override manually some of the (slightly misguided) decisions made
by the "configure" script:

        ./configure -cc gcc

then edit config/Makefile and replace the lines
        NATIVECC=...
        NATIVECCOMPOPTS=...
by
        NATIVECC=gcc
        NATIVECCCOMPOPTS=-Wall -Wno-unused

In the forthcoming release 3.01 of OCaml, the "configure" script is
fixed to always honor the user-provided C compiler, if any, and revert
to the "gcc for bytecode / cc for native code" combination otherwise.

If you encounter any problems, please report them to
caml-bugs@inria.fr.

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr