From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53809 invoked by alias); 28 Oct 2017 14:37:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 53799 invoked by uid 89); 28 Oct 2017 14:37:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*u:6.1, H*UA:6.1 X-HELO: mail-wm0-f41.google.com Received: from mail-wm0-f41.google.com (HELO mail-wm0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Oct 2017 14:37:25 +0000 Received: by mail-wm0-f41.google.com with SMTP id s66so7893965wmf.5 for ; Sat, 28 Oct 2017 07:37:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=h3EJudBXvhdIppWg7VqBjNmac/SEFbKB8UW5C2HAkV0=; b=TJqPm4PP09Y8EsPCwqVo8UsumLq1kL384PoCxbZEihwzrJme0jkhikzgkZ4Nr6f/D5 xohMNbtdd3zI3u0E9ys7Y+Zqsxh7BiJfjfwVH2p8E12Lg2fKA8SSLlTKJxxP9Tr0SL4d haHOTB0Qdnf8AizERc9T4Mdc7h9ZoD1bG0bWVdTR2TkegXcF/ajvFjVslzTQ7kPENcbB LdPtWsOL61jWKq+bNxZUzbtZ9ic16niIspuDRMVAZA4jxNMjzXPrKNgkBdg9hFwdK6jK /bBffIYqwwFINLdRL6Rnw+/M3FqfWaJ9Ee6RbB9wYHh/bjqsBaYci/nAAit4aUCdTTkU J9VA== X-Gm-Message-State: AMCzsaWgGbVd6ykfmray0wPlSa9ktMVjgoyxXLUgN3FU8Gtk9iXGT2Qe YopwrgaZHAN6qjtrGtsjeRUBPA== X-Google-Smtp-Source: ABhQp+TUAONON2mJYEtig+DycXfOkSoIyznufBrDBUXiJ4llPkEOw04pNhNAh1VrMQ61LfTX2FOsFw== X-Received: by 10.80.213.93 with SMTP id f29mr4939131edj.225.1509201442775; Sat, 28 Oct 2017 07:37:22 -0700 (PDT) Received: from [192.168.2.108] (p4FDB3F85.dip0.t-ipconnect.de. [79.219.63.133]) by smtp.googlemail.com with ESMTPSA id k51sm8145643ede.42.2017.10.28.07.37.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Oct 2017 07:37:22 -0700 (PDT) To: "cygwin@cygwin.com" From: Marco Atzeri Subject: ada gnat import library missing ? Message-ID: <8bd3f78e-fa4c-8726-8ef9-c2d3f0fb3f42@gmail.com> Date: Sat, 28 Oct 2017 14:37:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00358.txt.bz2 Jon, the simple hello program https://gcc.gnu.org/onlinedocs/gnat_ugn/Running-a-Simple-Ada-Program.html with shared option fails $ gnatbind -v -shared hello gnatbind -v -shared hello GNATBIND 6.4.0 Copyright (C) 1995-2016, Free Software Foundation, Inc. Binding: hello.ali No errors $ gnatlink -v -shared hello GNATLINK 6.4.0 Copyright (C) 1995-2016, Free Software Foundation, Inc. gcc -c -mtune=generic -march=x86-64 -gnatA -gnatWb -gnatiw -gnatws /tmp/ada/b~hello.adb /usr/bin/gcc.exe b~hello.o ./hello.o -shared -o hello.exe -L./ -L/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/adalib/ -lgnat-6 -Wl,--stack=0x2000000 -shared-libgcc /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lgnat-6 collect2: error: ld returned 1 exit status gnatlink: error when calling /usr/bin/gcc.exe as I do not find any import library for /usr/bin/cyggnat-6.dll can you check ? Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple