From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 95CC27EEAF for ; Wed, 16 Jan 2013 09:02:32 +0100 (CET) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of r0ller@freemail.hu) identity=pra; client-ip=209.85.219.56; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="r0ller@freemail.hu"; x-sender="r0ller@freemail.hu"; x-conformance=sidf_compatible Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of r0ller@freemail.hu) identity=mailfrom; client-ip=209.85.219.56; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="r0ller@freemail.hu"; x-sender="r0ller@freemail.hu"; x-conformance=sidf_compatible Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oa0-f56.google.com) identity=helo; client-ip=209.85.219.56; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="r0ller@freemail.hu"; x-sender="postmaster@mail-oa0-f56.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnkCAKdd9lDRVds4lGdsb2JhbABFuh0mg0IWDgEBAQEJCQsJEimCHgEBAQQBAQF2EAsYLjQBBQEciB8BEppPkDWDfwGIVY4PgykDiGGcEz+ECi4 X-IronPort-AV: E=Sophos;i="4.84,476,1355094000"; d="scan'208";a="190124880" Received: from mail-oa0-f56.google.com ([209.85.219.56]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 16 Jan 2013 09:02:31 +0100 Received: by mail-oa0-f56.google.com with SMTP id j6so604992oag.11 for ; Wed, 16 Jan 2013 00:02:29 -0800 (PST) X-Received: by 10.49.72.169 with SMTP id e9mr42722qev.3.1358323349136; Wed, 16 Jan 2013 00:02:29 -0800 (PST) Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: fa.caml Date: Wed, 16 Jan 2013 00:02:29 -0800 (PST) In-Reply-To: <1fdfabf6-ac3b-4dfb-ade8-df6c93d93044@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.229.2.180; posting-account=1tym9AoAAABKxcWqTDQq8MFzsJ5_fvrj NNTP-Posting-Host: 87.229.2.180 References: <7040befa-a99d-4fc7-86ff-9b70ea2174ef@googlegroups.com> <1fdfabf6-ac3b-4dfb-ade8-df6c93d93044@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 87.229.2.180 MIME-Version: 1.0 Message-ID: <43fbc889-f7fc-4bd6-949b-634d478326f6@googlegroups.com> From: r0ller@freemail.hu To: fa.caml@googlegroups.com Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] ocamlc compiles hello world, ocamlopt not Hi All, By the way, is there any doc available about porting ocaml (google didn't f= ind any) or any hint on how to move forward? I'd really like to have the na= tive compiler on minix too. Thanks®ards, r0ller On Friday, January 11, 2013 5:23:54 PM UTC+1, r0l...@freemail.hu wrote: > Hi again, >=20 >=20 >=20 > I forgot to mention that this result I got after gmake opt. >=20 >=20 >=20 > Regards, >=20 > r0ller >=20 >=20 >=20 > On Friday, January 11, 2013 5:13:56 PM UTC+1, r0l...@freemail.hu wrote: >=20 > > Hi Xavier, >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > Thanks for the hint! I gave it a try and also with SYSTEM=3Dbsd_elf. Pl= ease, find below the result of the latter (it's the same for linux_elf anyw= ay). I also tried another suggestion from Olivier Andrieu by introducing SY= S_minix in asmrun/i386.S but ended up in the same result:( Do you happen to= know how to proceed now? >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > gmake runtimeopt >=20 > >=20 >=20 > > gmake[1]: Entering directory `/home/r0ller/ocaml-4.00.1' >=20 > >=20 >=20 > > cd asmrun; gmake all >=20 > >=20 >=20 > > gmake[2]: Entering directory `/home/r0ller/ocaml-4.00.1/asmrun' >=20 > >=20 >=20 > > DSYS_bsd_elf -o i386.o i386.S || \ >=20 > >=20 >=20 > > { echo "If your assembler produced syntax errors, it is probably unhapp= y with the"; echo "preprocessor. Check your assembler, or try producing i38= 6.o by hand."; exit 2; } >=20 > >=20 >=20 > > DSYS_bsd_elf: not found >=20 > >=20 >=20 > > If your assembler produced syntax errors, it is probably unhappy with t= he >=20 > >=20 >=20 > > preprocessor. Check your assembler, or try producing i386.o by hand. >=20 > >=20 >=20 > > gmake[2]: [i386.o] Error 2 (ignored) >=20 > >=20 >=20 > > rm -f libasmrun.a >=20 > >=20 >=20 > > ar rc libasmrun.a startup.o main.o fail.o roots.o globroots.o signals.o= signals_asm.o misc.o freelist.o major_gc.o minor_gc.o memory.o alloc.o com= pare.o ints.o floats.o str.o array.o io.o extern.o intern.o hash.o sys.o pa= rsing.o gc_ctrl.o terminfo.o md5.o obj.o lexing.o printexc.o callback.o wea= k.o compact.o finalise.o custom.o unix.o backtrace.o natdynlink.o debugger.= o meta.o dynlink.o i386.o >=20 > >=20 >=20 > > ar: i386.o: no such file or directory >=20 > >=20 >=20 > > gmake[2]: *** [libasmrun.a] Error 1 >=20 > >=20 >=20 > > gmake[2]: Leaving directory `/home/r0ller/ocaml-4.00.1/asmrun' >=20 > >=20 >=20 > > gmake[1]: *** [makeruntimeopt] Error 2 >=20 > >=20 >=20 > > gmake[1]: Leaving directory `/home/r0ller/ocaml-4.00.1' >=20 > >=20 >=20 > > gmake: *** [opt] Error 2 >=20 > >=20 >=20 > >=20 >=20 > >=20 >=20 > > Thanks & regards, >=20 > >=20 >=20 > > r0ller