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.4 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr 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 38EEEBBCA for ; Mon, 14 Apr 2008 22:39:16 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsBADteA0jRVYC5c2dsb2JhbACRUgEMAwQFCRSVG4QS X-IronPort-AV: E=Sophos;i="4.25,656,1199660400"; d="scan'208";a="24990478" Received: from fk-out-0910.google.com ([209.85.128.185]) by mail4-smtp-sop.national.inria.fr with ESMTP; 14 Apr 2008 22:39:15 +0200 Received: by fk-out-0910.google.com with SMTP id b27so2137306fka.11 for ; Mon, 14 Apr 2008 13:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=3Q5sgdwAY0XuxMlFWsVmyGd0l2t40AJp+e4l/2GEJXI=; b=XoMu/JHbP5ht2VJYsB+jhXNJ/v7F2VhErJEv0HKpPDyBtkuDdob34q/glp18BqZRF+KSinB2Yr80HzOeMBBpHfw8Dlm9olUoGjCWqdG4FEupjQsCbAee0RIQVl/4j3AClTew6dXKxZOU85aMBmP/ejeVdneWH1tVwwl9j9VfdrU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=Nke7em/DWuLqYD7tTbjmmyvlRsUqaIPLmFKL9KslRslIUlvHn4uwZaOB1KH9wH33kf7FV1bFb5ICEc8QpTqVWs676kLcvo/OOdT6VhuANhXmYJmUkU7Bu14ezFu8/1Igl5FpJJrXsVmZgP0NRcv1Ea2K8uZFuS8JdpqUbVu3YL4= Received: by 10.82.185.12 with SMTP id i12mr3200788buf.75.1208205555246; Mon, 14 Apr 2008 13:39:15 -0700 (PDT) Received: from ?10.10.10.17? ( [81.37.191.55]) by mx.google.com with ESMTPS id k9sm869111nfh.35.2008.04.14.13.39.13 (version=SSLv3 cipher=OTHER); Mon, 14 Apr 2008 13:39:14 -0700 (PDT) Message-Id: From: Joel Reymont To: caml-list@yquem.inria.fr Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: cross-compliation from x86 linux to windows? Date: Mon, 14 Apr 2008 21:39:10 +0100 X-Mailer: Apple Mail (2.919.2) X-Spam: no; 0.00; ocamlc:01 ocamlopt:01 -output-obj:01 blackbox:01 gcc:01 ideally:01 compile:01 reuse:01 dlls:01 output:02 dll:02 dll:02 linux:07 linux:07 linker:07 Is it possible to reuse on Windows the output from ocamlc/ocamlopt -output-obj? Ideally, I would like to have a web service produce object code on Linux and have another "linker" put together a DLL on Windows. The DLL would then be used from C or .NET code. The goal of this approach is to compile trading strategies to object code in a web app and then produce blackbox DLLs in a final step on Windows. I don't want to have to distribute GCC as part of my linker program, if not absolutely necessary. Does this sound like a pipe dream or something real? Thanks, Joel -- wagerlabs.com