Version française
Home     About     Download     Resources     Contact us    
Browse thread
Bytecode run on AIX - "unknown C primitive" error
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dawid Toton <d0@w...>
Subject: Re: [Caml-list] OCaml on AIX
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