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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=w7QdUeHp7wf9t9lxFVq3TFC8ls0+qzICxG7QvJKuUc/aM+nO2P2we
	VlkuxhA+Da9ewMlzcpyCVn7FY5Rp3K3PoCFbxczQt6Y3fk1YmP5KdnKv+irKbg8c
	CVNYjT4dKd9V+XZumwSy4jzr5/RKzLZ4qzM7K8YjcQK4pmLD/atbMI=
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:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=3O4tpFShi8CUfY2CZqUxymTP+TE=; b=ZNf7eyC89UGYLHEFNuAiHhbCKzgU
	0a2I0F7gmJvzi9Es5KnEohhLD/jsJp1bPi0WZdX/Ne96QY3OH+NX8xuqBR7tbJi+
	wcPdv04EfHc7kydM+hnzmqWJKkXBrZqTOUsxCL83iTjLQ4nB2MEeCGzi0c2uU3UN
	4xTvP8ipxCBgKZU=
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=1.1 required=5.0 tests=AWL,BAYES_50,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=ia32, sought, Pyeron, pyeron
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@NexGo.DE>
Subject: Re: 32 bit lib dirs on cygwin64, advice sought
Date: Mon, 30 May 2016 07:19:36 +0000 (UTC)
Lines: 23
Message-ID: <loom.20160530T091626-91@post.gmane.org>
References: <942E9B22984F4DA8BBC52814E9069B43@black7>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Jason Pyeron <jpyeron <at> pdinc.us> writes:
> I feel I am making things way too complicated.
> 
> I have a Makefile, which is building a static library [1] in both 32 and 64
> bit. The current issue is it creates a static lib (.a file) and installs
> both the 32 and 64 to /usr/lib/, which is not working because the 64 and 32
> bit lib overwrite each other.

No, it's not working because on Cygwin64 there are no 32bit libraries at all
and no 64bit libraries on Cygwin32, vice-versa.

> For now I am going to hard code the /usr/lib32/ in the Makefile on target
> ia32 for cygwin64.

Whatever you are trying to do there, you will likely need to use a
cross-compiler.  In any case the result is completely useless on Cygwin64,
so you might just as well not build it in the first place.


Regards,
Achim.




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

