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:from:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=NuH LK5+5VpOB58kxBttluaVwicv7pw7qsbkWSy6Gs9n+294dqrrU4EeofvUY8PrPHoS sQRI+xDta9rR+vUjXCu0JVQkyIhuzRvIf5jMdaX/n20CqF5qKdLgRm+PwOY8sggM ofPbT51dYxBdREr7zU9pK6+9GQvEMXZKbDmqrX/w= 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:from:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=C2wu7p0sA K9J8vObH61Z8nXa9Nw=; b=m1UYXNrnMtA5a0dEhMXVoScE1aPZzIF1hN992mFx4 Ilww9slsXZ/DoJHtgATHl/OphSR13LHqx/onI2oE5QD5Nh1EKxxOKGDBw25pQtCr /eKkV3wHaH623c4VgCpp5VTjpelMKE3RLUaR2oY8tqcXfIzlsAxDjtfWzS8tuumQ SY= 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=4.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,SPAM_BODY,SPF_PASS autolearn=no version=3.3.2 spammy=Views, Wood, Gas, oil X-HELO: mail-wr0-f178.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:subject:organization:to:message-id :date:user-agent:mime-version:content-transfer-encoding :content-language; bh=YArB3XaMcR6MCfYnil4SN4P7reFOrWUl6zI9ybuaS18=; b=fJ4c8SOGXvonlzRgZ38Eclq6Sxh1HjaE+TwEWgOVum5QERN7rAErTZgYNQBiL70H3+ n83FRsTCKir3ekFJA39olJ4zDIh8HSGtcslRrnryVIzgDuAR28gECR816yYAASCwQeyC exjlQPGAJCpVLbWrr0Vbo2CoTW6x8q8xpbephPLeGmyZqMg5BB48fLUUMT70Vr1u+Znv J0dtAzWLjWSVWgm6UjoapaLj/UZ+W9KDSsLlXTna0Gifh76nK6N6Bsmst0xrZGt9BCwH H+CgJbEKuX/+CfyizFL7n7FDnThn6cdAj6cS/WeLe8xsMIApsZyr9TLySEUxDCzZNqOx X9zA== X-Gm-Message-State: AKGB3mKVZXjzMv0uD7voFyQ2IDC/bBWjJQDT+TtD+gosdcK8u27/8sKQ fauB2gA+EV9NtcFeM6cFhgSnMw== X-Google-Smtp-Source: ACJfBoteoNsKWv6yKOUziR2kByNE68yX+SV4fQUEUOFIGlvhPGuQ3X/qaKqhBjczthgBhX4gKU/JEQ== X-Received: by 10.223.196.228 with SMTP id o33mr5965299wrf.101.1515427624379; Mon, 08 Jan 2018 08:07:04 -0800 (PST) From: Trevor Barton Subject: Can't link to libpopt To: cygwin AT cygwin DOT com Message-ID: Date: Mon, 8 Jan 2018 16:07:02 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Hi, I am trying to use libpopt but I can't link to it using -lpopt to gcc because libpopt.a doesn't exist in /lib or /usr/lib. I have an up-to-date 64 bit installation and I have all of libpopt-common, libpopt-devel and libpopt0 installed at the current version 1.16.2.  In my /lib and /usr/lib directories I have libpopt.dll.a, but no libpopt.a, unlike, for example, libreadline, which has libreadline.a and libreadline.dll.a. I can link successfully using -lpopt.dll however.  I presume, but can't seem to find any information, that linking against libThing.a and libThing.dll.a, where both are available, gives wither a static or dynamic link? I always used to be able to link against libpopt.a, but I think that was always in an older 32bit installation, I may never have tried to build this program in the 64-bit environment. Can anyone give me any pointers please?  Can I generate libpopt.a somehow?  Or should it really be there and there is an error in the cygwin package? Cheers, Trevor -- Isotek Oil and Gas Ltd., 9 Clayton Wood Bank, Leeds, LS16 6QZ, UK. Tel: +44 (113) 275 1339 Web: www.isotek.co.uk Views expressed are my own and not necessarily those of Isotek Oil and Gas Ltd. -- 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