From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 97BA4BC37 for ; Wed, 27 Jan 2010 16:08:19 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4AAJ7lX0vUTWUIkWdsb2JhbACbVAEBAQEJCwoHEwS8D4Q5BA X-IronPort-AV: E=Sophos;i="4.49,354,1262559600"; d="scan'208";a="42570891" Received: from mx4.wp.pl ([212.77.101.8]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/EDH-RSA-DES-CBC3-SHA; 27 Jan 2010 16:08:18 +0100 Received: (wp-smtpd smtp.wp.pl 2893 invoked from network); 27 Jan 2010 16:08:13 +0100 Received: from pfpleia.if.uj.edu.pl (d0@[149.156.90.26]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with RC4-MD5 encrypted SMTP for ; 27 Jan 2010 16:08:13 +0100 Message-ID: <4B60575A.9050009@wp.pl> Date: Wed, 27 Jan 2010 16:10:18 +0100 From: Dawid Toton User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] OCaml on AIX References: <4B5616B9.7030105@wp.pl> <9A8556989A396A408C72088C69EDE5633EC26A23@KAIP-EXMSG01.lmsintl.com> <4B5748DF.90604@wp.pl> <9A8556989A396A408C72088C69EDE5633EC26CBF@KAIP-EXMSG01.lmsintl.com> In-Reply-To: <9A8556989A396A408C72088C69EDE5633EC26CBF@KAIP-EXMSG01.lmsintl.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [oaOU] X-Spam: no; 0.00; ocaml:01 asmrun:01 cpp:01 -dsys:01 cpp:01 syntax:01 gmake:01 camlp:01 unix:01 preprocessor:01 caml-list:01 asm:02 native:03 crashes:03 christoph:04 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