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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=mLhgtTFsK1qkkvFP K9Ba+8Gb6eBD5DGTnvpjf++0DgDxJ2xZqxp/tpFmmv5CASxY2cOTs9EIsKShxbIf AJdHFwOMJvELlE8QzuY3syvbsv9w5AEwANiEMKpIKoHWaYu27564BEGJHbVScsSB PsubvLTN5NJkd2mu92eEWTvV2Sg= 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=uNavITaKq4b9aX7Cgn/08Y 5pyCw=; b=Wm0B5i6KTCJFOinMp9noAXR7PLY0aLasx5mKevQ9eF+igW+i5fPGrk IqPWovju3OkwUCZanOW7d2aX0VeNQftNrAUaUkC58G5LdL3H2tm5dbVbqC59vlm6 rITQYW0F+REmaDFM2c/6Q1qi4NayuRG/FZWUrtWiCcIAxPm5sxmXc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=mounts, sorryforaskingthis.bk.ru, H*Ad:U*yselkowitz, sk:sorryfo X-HELO: mx1.redhat.com Subject: Re: ld internal script has wrong SEARCH-DIR settings To: cygwin AT cygwin DOT com References: <1488467143 DOT 291849809 AT f419 DOT i DOT mail DOT ru> From: Yaakov Selkowitz Message-ID: <3b402e8d-5f1c-8a4c-ff02-6c374d46e5b3@cygwin.com> Date: Thu, 2 Mar 2017 09:47:04 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <1488467143.291849809@f419.i.mail.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2017-03-02 09:05, sorryforaskingthis.bk.ru via cygwin wrote: > $ ./ld --verbose [snip] > OUTPUT_FORMAT(pei-i386) > SEARCH_DIR("/usr/i686-pc-cygwin/lib"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib/w32api"); > > There is no libraries under /usr/i686-pc-cygwin/lib or /usr/lib or /usr/lib/w32api > Instead, they located at /usr/i686-w64-mingw32/sys-root/mingw/lib; /lib and /lib/w32api accordingly /usr/lib == /lib, unless your mounts are messed up. -- Yaakov -- 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