delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/28/10:37:40

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=MQN
hb2ZXSG6S8rwuZMV4kDLz7BIaoB/k1CfAuliUgTf3zDwCx5yf8T9AmMhtJBnX9JW
k/Yd7devQKjc6yUsGbCB4XzZARf3sm5hqAYRZInQumAi+XazicIP/lrSnLuDOvO0
yZXqubivx8vLyPZIdfRHZKMaY8TIxBZVatyvG3h8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=OtUemVnqP
ID4UkvbDC/R9+BJyok=; b=kBoFRb+ZcIfIAXtUvWbA36ORH0/FSd06ina4UhgIF
uPOwHYb0p6UlNarT8Fj6G2xNVyJO8WKl+8uHtrfYISA8o7koVINLSbb8nAJ/J+56
mALGftsqqDSr7wC2hcxNR7OGo38L/oSRtiPkchV2g+mPJXRkq/foA2xmOtELf/qw
eo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
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)
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Subject: ada gnat import library missing ?
Message-ID: <8bd3f78e-fa4c-8726-8ef9-c2d3f0fb3f42@gmail.com>
Date: Sat, 28 Oct 2017 16:37:15 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019