caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Bauer, Christoph" <Christoph.Bauer@lms-gmbh.de>
To: "'Jerome Simeon'" <simeon@us.ibm.com>, 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	[thread overview]
Message-ID: <D981925B4F2CD611870300E0184CEE9B02439401@mail.lms-gmbh.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2977 bytes --]

                 reply	other threads:[~2005-04-22  7:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D981925B4F2CD611870300E0184CEE9B02439401@mail.lms-gmbh.de \
    --to=christoph.bauer@lms-gmbh.de \
    --cc=caml-list@inria.fr \
    --cc=simeon@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).