caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dawid Toton <d0@wp.pl>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] OCaml on AIX
Date: Wed, 27 Jan 2010 16:10:18 +0100	[thread overview]
Message-ID: <4B60575A.9050009@wp.pl> (raw)
In-Reply-To: <9A8556989A396A408C72088C69EDE5633EC26CBF@KAIP-EXMSG01.lmsintl.com>

Christoph Bauer pisze:
> Please try:
>
> $ cd asmrun
> $ cpp -DSYS_aix power-aix.S > power-aix.s
> $ as -u  power-aix.s
> $ cd ..
> $ make opt
>
> Christoph Bauer
>
>   
Apparently I can go directly without preprocessor (and cpp I have on the 
AIX machine doesn't like asm syntax):

$ cp power-aix.S power-aix.s
$ as -u -o power-aix.o power-aix.s
$ cd ..
$ gmake opt

So I get working native code.
The remaining problem is that camlp4 crashes on some Unix call when 
preprocessing. I solved it by preprocessing all the code on another machine.

Thank you for your help.

Dawid


  reply	other threads:[~2010-01-27 15:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 20:31 Bytecode run on AIX - "unknown C primitive" error Dawid Toton
2010-01-20  9:20 ` [Caml-list] " Christoph Bauer
2010-01-20 10:07   ` Sylvain Le Gall
2010-01-20 10:36     ` [Caml-list] " Christoph Bauer
2010-01-20 18:18   ` [Caml-list] " Dawid Toton
2010-01-22 11:24     ` Christoph Bauer
2010-01-27 15:10       ` Dawid Toton [this message]
2010-04-19 14:56         ` [Caml-list] OCaml on AIX Christoph Bauer
  -- strict thread matches above, loose matches on Subject: below --
2004-06-29 12:40 [Caml-list] Ocaml " Thomas Fischbacher
2004-06-29 14:03 ` John Goerzen
2004-06-29 17:14   ` Thomas Fischbacher
2004-06-29 18:05     ` John Goerzen

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=4B60575A.9050009@wp.pl \
    --to=d0@wp.pl \
    --cc=caml-list@yquem.inria.fr \
    /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).