From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45796 invoked by alias); 2 Jul 2019 14:45:42 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 45777 invoked by uid 89); 2 Jul 2019 14:45:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=google X-HELO: mail-qt1-f178.google.com Received: from mail-qt1-f178.google.com (HELO mail-qt1-f178.google.com) (209.85.160.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 02 Jul 2019 14:45:41 +0000 Received: by mail-qt1-f178.google.com with SMTP id d17so18693544qtj.8 for ; Tue, 02 Jul 2019 07:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codegentllc-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:reply-to:mime-version:subject :message-id:date:to; bh=nch99m58B1EbmyxvwlDY3SxURu89slOYftoi5bv6qYs=; b=GD1tt/yrNQxl2DODWZLc5MfEcv1+nYbx1vV4b4HXMWTbYKQcXNvMCjE/396iVsMy/0 oDekiLXIOIxT/lJzbuVezv7WbVUK95TAQQr7vHgN6hj4t6Aispoce/MGJ3CV7KIWqkbJ LC3yx+K9bJkaUb1Pgi41WeUKqn4U+0G7sNENXDGRdqCfHuSI3ReYfFx6ME98KY9UGQmu cJuVVAKHSxhh4Ql4nlCb4xoVVfpQq0OUu/xIM6r1/Weuys7Gq0Y8F8yZsmQ+ec+0kpxR L0GpgFHCI5zKs77BNdMNoXmAYszPqEhzyLdyf+3xVaIP//Dfi5QqvJTzOGGAFzT22duw EtJw== Return-Path: Received: from [192.168.2.29] (cpe-67-244-151-18.rochester.res.rr.com. [67.244.151.18]) by smtp.gmail.com with ESMTPSA id c192sm6307284qkg.33.2019.07.02.07.45.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 07:45:38 -0700 (PDT) From: Alan Lehotsky Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Reply-To: apl@alum.mit.edu Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: libffi support for z/OS and xlc compiler? Message-Id: <3451DF60-F5DA-4FAA-8D97-37D7FB189E2C@codegentllc.com> Date: Tue, 02 Jul 2019 14:45:00 -0000 To: libffi-discuss@sourceware.org X-IsSubscribed: yes X-SW-Source: 2019/txt/msg00013.txt.bz2 I implemented a minimal ability to dynamically call DLLs on z/OS using xlc,= but it=E2=80=99s far from able to handle the full C ABI for passing retur= ning things like structs by value or mixing floats and doubles. It would s= eem that libffi would be a more capable environment, but there doesn=E2=80= =99t seem to be a supported z/OS port - just the OS390 UNIX ports. Anybody know if the OS390 ABI is compatible with the z/OS ABI? I tried a g= oogle search to see if there was any comparison documentation, but didn=E2= =80=99t get any obvious hits. And has anybody tried using libffi on z/OS? =E2=80=94 Al