From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 875C2BBAF for ; Fri, 27 Mar 2009 17:05:02 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhsHAKKVzEk+BBBpaGdsb2JhbACBUZQxDQoJBxMDuRODdwY X-IronPort-AV: E=Sophos;i="4.38,432,1233529200"; d="scan'208";a="37343935" Received: from smtp-105-friday.nerim.net (HELO kraid.nerim.net) ([62.4.16.105]) by mail4-smtp-sop.national.inria.fr with ESMTP; 27 Mar 2009 17:05:02 +0100 Received: from hector.lesours (ours.starynkevitch.net [213.41.244.95]) by kraid.nerim.net (Postfix) with ESMTP id 3F227CFCA6; Fri, 27 Mar 2009 17:05:01 +0100 (CET) Received: from glinka.lesours ([192.168.0.1] ident=basile018) by hector.lesours with esmtp (Exim 4.69) (envelope-from ) id 1LnEYU-0001fv-Al; Fri, 27 Mar 2009 17:05:14 +0100 Message-ID: <49CCF933.1010201@starynkevitch.net> Date: Fri, 27 Mar 2009 17:05:07 +0100 From: Basile STARYNKEVITCH User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Gregory Bellier Cc: Caml Mailing List Subject: Re: [Caml-list] PowerPC 405 References: <49CCEC5F.6040009@starynkevitch.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; basile:01 basile:01 powerpc:01 lib:01 powerpc:01 ocaml:01 ocaml:01 faiencerie:01 92340:01 reine:01 wrote:01 compile:01 caml-list:01 minor:01 8501:02 Gregory Bellier wrote: > Hello Basile, thank you for your reply. > > Yes, it will run Linux. It will have the uclibC or even the lib C. > The best case is to run native code for better performance. We'd like > to cross-compile for the PowerPC. > > I'm not a FPGA expert, I'm asking questions for a colleague who works > on it. > > From what you're saying, it should work properly because of the > non-exotic environment thanks to Linux. Am I correct ? Probably yes. A few years ago, I had a Powerbook G4 with a 32 bits PowerPC running Linux, and Ocaml did compile and run fine, even in native mode. Of course, I understand that your ocaml code runs inside an application in linux user mode (not inside the kernel!). I would expect you might have minor issues in configuration or whatsover. I suppose you have enough RAM (and I have no idea what that means exactly on your system). Please publish the patches you'll need to implement your solution. But I never tried all that, so take all my saying with a big grain of salt. BTW, I'm curious: what kind of embedded application do you want to code in Ocaml for what sort of device or system? Regards -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***