Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [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: chris@s...
Subject: Re: [Caml-list] ocamlopt/IRIX

That's encouraging. I figured it was possible, but before I went mucking
about in the configure scripts I figured it was best to see if there were
any issues.

Thanks.

--chris
<chris@satel.com>



                                                                                                                             
                    Xavier Leroy                                                                                             
                    <Xavier.Leroy@inria.fr>        To:     chris@satel.com                                                   
                    Sent by:                       cc:     caml-list@inria.fr                                                
                    owner-caml-list@pauilla        Subject:     Re: [Caml-list] ocamlopt/IRIX                                
                    c.inria.fr                                                                                               
                                                                                                                             
                                                                                                                             
                    02/22/2001 02:12 AM                                                                                      
                                                                                                                             
                                                                                                                             



> 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




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