From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id BE361BC48 for ; Fri, 22 Apr 2005 09:26:40 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j3M7QepL009099 for ; Fri, 22 Apr 2005 09:26:40 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA12722 for ; Fri, 22 Apr 2005 09:26:39 +0200 (MET DST) Received: from kaiserslautern1.lms-gmbh.de (Kaiserslautern1.lms-gmbh.de [213.68.136.230]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j3M7QdrY005826 for ; Fri, 22 Apr 2005 09:26:39 +0200 Received: by mail.lms-gmbh.de with Internet Mail Service (5.5.2653.19) id <20MK94LS>; Fri, 22 Apr 2005 09:26:38 +0200 Message-ID: From: "Bauer, Christoph" To: "'Jerome Simeon'" , caml-list@inria.fr Subject: Re: [Caml-list] Problem compiling Ocaml 3.08.3 on AIX 5.2 Date: Fri, 22 Apr 2005 09:26:36 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5470C.9E3A55D0" X-Miltered: at nez-perce with ID 4268A730.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4268A72F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 compiler:01 gcc:01 compiler:01 cvs:01 workarounds:01 config:01 makefile:01 usr:01 handler:01 struct:01 -case:01 config:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_50_60,HTML_MESSAGE autolearn=disabled version=3.0.2 X-Spam-Level: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C5470C.9E3A55D0 Content-Type: text/plain Hi, > I am having trouble building ocaml 3.08 on AIX 5.2. > The compiler is gcc is 3.3.2. Unfortunatly INRIA dropped support for AIX. It is hard to get a working native compiler for OCaml on AIX. You have to pull some older files from OCaml CVS. > As anybody has seen that problem before and can help? Here is a list of workarounds (for 3.08.2). Problem Workaround ---------------------------------------------------- (1) configure sets ARCH and set ARCH=power and SYSTEM=aix SYSTEM to none and unknown by hand. in config/Makefile. (2) compiler errors with configure -cc "/usr/bin/CC -D_XOPEN_SOURCE=500" int16/int32/int64 (3) trap_handler not defined. disabled the "sigaction" section for aix :-( could use struct sigcontext (4) assembler complains about running as with -u option undefined symbols (5) assert-Errors in proc.ml/ added "aix" to a each block next to the "elf"-case. emit.ml in "match *THIS DOESN'T WORK* Config.system with"-Blocks *USE OLD CVS VERSIONS OF FILES* [1] I have a binary version of OCaml 3.08.2 (including a working native code compiler). [1] just before CVS log-info "Suppression portage ocamlopt pour Power/AIX " Best regards, Christoph Bauer ------_=_NextPart_001_01C5470C.9E3A55D0 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Re: [Caml-list] Problem compiling Ocaml 3.08.3 on AIX = 5.2

Hi,

> I am having trouble building ocaml 3.08 on AIX = 5.2.
> The compiler is gcc is 3.3.2.

Unfortunatly INRIA dropped support for AIX. It is = hard
to get a working native compiler for OCaml on AIX. = You have
to pull some older files from OCaml CVS.
 
> As anybody has seen that problem before and can = help?

Here is a list of workarounds (for 3.08.2).

Problem         &n= bsp;           &n= bsp;   Workaround
----------------------------------------------------
(1) configure sets ARCH = and      set ARCH=3Dpower and = SYSTEM=3Daix
    SYSTEM  to none and = unknown  by hand.
    in config/Makefile. 
(2) compiler errors = with         configure -cc = "/usr/bin/CC -D_XOPEN_SOURCE=3D500"
    = int16/int32/int64         &= nbsp;  
(3) trap_handler not defined.    = disabled the "sigaction" section for aix :-(
    could use struct = sigcontext
(4) assembler complains about    = running as with -u option
    undefined symbols
(5) assert-Errors in proc.ml/    = added "aix" to a each block next to the = "elf"-case.
    emit.ml in = "match          &= nbsp; *THIS DOESN'T = WORK*         
    Config.system = with"-Blocks   *USE OLD CVS VERSIONS OF FILES* = [1]

I have a binary version of OCaml 3.08.2 (including a = working
native code compiler).

[1] just before CVS log-info  "Suppression = portage ocamlopt pour Power/AIX "


Best regards,
Christoph Bauer

------_=_NextPart_001_01C5470C.9E3A55D0--