X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=mUonMfm9aE2vfM9P
	JK2qBkoS/dn5r0CxFh6znROLpsIhqi09dXuScTr1+BShFLH7zPABKF70ZEFOMMt+
	DbFVlOOTRNhJRpVUNGKgBOrzHsU2Qh0xVLA8x3nwyUhFH+RZdHQNLLel/PobuK4i
	pGFFBSuGwC6P2qxyEaTBdkpZaGI=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=TsfrbmDhPO3qzatltTl5Y8
	qcnkw=; b=X25wH8EZi7iFq2U/01g9wkpUGh7TPYqwU70NdfOGV9chGBBnYsUB6D
	oCDHoOwI3XUZZr7hkIPMSTtifYmKvM1uJ2QZD5CwwWs8ecnKqnWwLLgNFP/LueK+
	6B6DUGxsk+YsPWkKg8FQN9QLdVqFAeNvQKP34ayheBrut+BdvoLvE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mail-pf0-f181.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-language         :content-transfer-encoding;        bh=J/XGgtFbk3O4AmdXmX56NzZyVYrO0vRe+eqHtKt6j9c=;        b=l+3NOCOqd2bnoavT8UXelM/Pj7gOu4U2DvfyeJzN8PrzbkLv8wuThF6jwYtJODCHYd         na1yBpRD/bsaoIqSrtsO4/37OVsq2Z80IYN4SYvr6E2wqy2nWkAEbhBdzk8aWn5LzOpa         gCFUHZRtBSwSM9AIAPxFbh1EyhxXdpTN++XNKzY65BRFMMpKT5ZHlnLFQPiyqNmUJeiK         U0tO6RoT1Hyxw3C6jC3je4oxkMbEzesff8duaJ6gMSZUGtd8fRIu0Zd4TdFqRiDnMjRM         QFbBQC/y+oo8VcJdqcqDGyHmITEvuT1Ir7L9+P5ii9bj7n5sCJbufHU6ASUlxRfmgAlk         uZvA==
X-Gm-Message-State: AHPjjUhlM8J9cK8gQyHaiGSWJUek3l6S7H6/D4xz0YKL6vXkCybENj3s	JlZfBnba2rTUrwSL
X-Google-Smtp-Source: ADKCNb4tvefNCvX0iD1LqyobiqdJb593HBIWRfQ4QXa6M0ZQjQ/2QU5hIQvqAhRUYxO4AXY1jU957Q==
X-Received: by 10.84.232.6 with SMTP id h6mr3791782plk.66.1504883053918;        Fri, 08 Sep 2017 08:04:13 -0700 (PDT)
Subject: Re: i686-w64-mingw32-gcc -fstack-protector-strong
To: cygwin@cygwin.com
References: <CAD8GWsusnJQk_Z42o966BUwaFHedZ4xnEvBC7AcEtWe=K0ioKg@mail.gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <b7878d31-389b-2d73-b988-34db0b926efb@gmail.com>
Date: Fri, 8 Sep 2017 17:04:05 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <CAD8GWsusnJQk_Z42o966BUwaFHedZ4xnEvBC7AcEtWe=K0ioKg@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 08/09/2017 16:14, Lee wrote:
> I'm hoping that I'm just missing a library, but which one?  Even
> better, how to tell which one?
> 
> $ i686-w64-mingw32-gcc -o div.exe div.c
> $ ./div
>    works
> 
> $ i686-w64-mingw32-gcc -fstack-protector-strong -o div.exe div.c
> $ ./div
> C:/cygwin/home/Lee/t/div.exe: error while loading shared libraries: ?:
> cannot open shared object file: No such file or directory
> 
> $ ldd div.exe
>          ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffef5c50000)
>          ??? => ??? (0x778f0000)
>          wow64.dll => /cygdrive/c/WINDOWS/System32/wow64.dll (0x50e50000)
>          wow64win.dll => /cygdrive/c/WINDOWS/System32/wow64win.dll (0x50dd0000)
> 

try
   cygcheck ./div.exe



--
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

