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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 412717F860 for ; Fri, 21 Feb 2014 13:52:09 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of mshinwell@janestreet.com) identity=pra; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="mshinwell@janestreet.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of mshinwell@janestreet.com designates 38.105.200.229 as permitted sender) identity=mailfrom; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="mshinwell@janestreet.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@tot-dmz-mxout1.janestreet.com) identity=helo; client-ip=38.105.200.229; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mshinwell@janestreet.com"; x-sender="postmaster@tot-dmz-mxout1.janestreet.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQBAJhKB1MmacjlnGdsb2JhbABZhBjAOYEJHg4BAQEBAQYWCTyCJQEBBUABATcBDwsLDS4hARIBBQEcBhOHcQMRAwKeS4sWhFcBBZVyDYcyEQaMT4FiMweEOJZLgW2MYINaGCmEWQ X-IPAS-Result: AvQBAJhKB1MmacjlnGdsb2JhbABZhBjAOYEJHg4BAQEBAQYWCTyCJQEBBUABATcBDwsLDS4hARIBBQEcBhOHcQMRAwKeS4sWhFcBBZVyDYcyEQaMT4FiMweEOJZLgW2MYINaGCmEWQ X-IronPort-AV: E=Sophos;i="4.97,518,1389740400"; d="scan'208";a="59597893" Received: from mx5.janestreet.com (HELO tot-dmz-mxout1.janestreet.com) ([38.105.200.229]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Feb 2014 13:52:08 +0100 Received: from tot-oib-smtp1.delacy.com ([172.27.22.15] helo=tot-smtp) by tot-dmz-mxout1.janestreet.com with esmtp (Exim 4.76) (envelope-from ) id 1WGpaI-00072h-3d for caml-list@inria.fr; Fri, 21 Feb 2014 07:52:06 -0500 Received: from tot-dmz-mxgoog1.delacy.com ([172.27.224.14] helo=mxgoog2.janestreet.com) by tot-smtp with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WGpaI-0006DT-2o for caml-list@inria.fr; Fri, 21 Feb 2014 07:52:06 -0500 Received: from mail-vc0-f173.google.com ([209.85.220.173]) by mxgoog2.janestreet.com with esmtp (Exim 4.76) (envelope-from ) id 1WGpaI-00086W-0j for caml-list@inria.fr; Fri, 21 Feb 2014 07:52:06 -0500 Received: by mail-vc0-f173.google.com with SMTP id ld13so3167046vcb.4 for ; Fri, 21 Feb 2014 04:52:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=2pNJQrADkxtScuD8tV268QqNdgS8UOP47vOGpoFohh4=; b=E8wYe9RV29Gh4vnHGaWXv2hDosMcY4thOec9qx5HMP2nmwBpFKxuHW766KeEJ5pM+g iNUP7SUmjBDFhOh/R77V7yljDXTgjwHAyE/ymX+KOsXiDksQNkT6TnRg8dF1Y2gdgRtS qWeDcPluZB7SQhIUpp8VAfSFPFgv9L7+hKgFI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2pNJQrADkxtScuD8tV268QqNdgS8UOP47vOGpoFohh4=; b=GylymJc4CViXqEvs6XDOoiGlVSIToius2M986s2SXePOIDvp3Lw0f0Nxsn/04zqpIx 7qAtAzBSzdhnDp2xqHMF94XxhDdJsG/RJQ8l8ykH3LfoxxMvnI17CkFnVSMXVJ8z6h+L kiglejeDSLUEWJ1k6sl+oGHFJn5x/hQwYjZlIz9/4mxFKHxnazYPoDgbwZ2CPU3snAbf 1UN8WWpODO/hDqaeP7NX/FMJZD+ZmvIA/TzhE7z1nWHRzYVeM5VYeZRXee+JfywwfZ5F EquluzGWWGD0Ff44ZYturENNwuZp/V8k29/2nZ3x1FKqNYVUCYZGA03sOmDpTcTf9Zzd syOA== X-Gm-Message-State: ALoCoQnMXsihVBGj7CqUkaFo72RiClaKVcOeE5t54/2pO/90chA/ns58X9TdNNH2MOrHQnsx/IJQVURlB7tZ7JPATpMdyKyQdXRfJY3ibhQQzEZv/M04o+IDNrw9wha2sLpOOuSLWHmwEr4/G2c0J3KtQMblYYWFGg== X-Received: by 10.52.246.42 with SMTP id xt10mr3899048vdc.9.1392987125869; Fri, 21 Feb 2014 04:52:05 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.52.246.42 with SMTP id xt10mr3899045vdc.9.1392987125795; Fri, 21 Feb 2014 04:52:05 -0800 (PST) Received: by 10.58.152.106 with HTTP; Fri, 21 Feb 2014 04:52:05 -0800 (PST) In-Reply-To: <53073EFA.2020501@gmail.com> References: <20140218185032.GA20593@notk.org> <5306330F.1020401@inria.fr> <20140221075326.GC7924@notk.org> <53073EFA.2020501@gmail.com> Date: Fri, 21 Feb 2014 12:52:05 +0000 Message-ID: From: Mark Shinwell To: =?ISO-8859-1?Q?Beno=EEt_Vaugon?= Cc: Adrien Nader , "caml-list@inria.fr" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Validation-by: mshinwell@janestreet.com Subject: Re: [Caml-list] [RFC] Remaining changes for cross-compilation support in OCaml On 21 February 2014 11:56, Beno=EEt Vaugon wrote: > Probably just a naive question: to solve this problem, don't you think it > would be possible to write a piece of OCaml code replacing the call to > dlopen()/dlsym() in the OCaml compiler, that manually reads the C librari= es > and list the exported symbolsat compile time without loading them? You can use a cross binutils to do this, no? Mark