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:message-id:from:to:subject:date:in-reply-to
	:references:content-type:content-transfer-encoding:mime-version;
	 q=dns; s=default; b=m+WwwSAS/LZEV+BlaMboEGiiL2sLwFseEaJWmmP+Zfp
	aVViRMyWktws1TtmTaTTNCj3dr0d2rarkazO+lhHLPtiM8/fgJFRpfs1xbO1eXto
	FOjQwybNlDbBhZPZB0TLtrnCXOOjM1KuMCn0h3yEEE2KSa96a+oqfnIjw8zvQlXg
	=
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:message-id:from:to:subject:date:in-reply-to
	:references:content-type:content-transfer-encoding:mime-version;
	 s=default; bh=+bMxPl8zGuPOPH250TIctQo26rA=; b=my33cZBfhOqdKuNi1
	ID1d7GjGt2411IkwUeMO40GaLbKs1geK0ee3xiLFYcHPaHprnuswEJO9nmhd/JXW
	1vlBnXYtvsnoyqf+TQG6kXADzPxzj309Yt0lLYv25TFuqm4Fi9cXpOsoWgSeHId1
	EeN4Oha4bTOyr6v4+5rNPqWclI=
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.8 required=5.0 tests=AWL,BAYES_95,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=coff, H*r:7.5.7601.23008, NPOTAdlg.o, npotadlg.o
X-HELO: BAY004-OMC2S11.hotmail.com
X-TMN: [KTtbELnOcQfQQHs4KKlG6ihF+psnmbOg]
Message-ID: <BAY169-W384C031E1CC187B666430A7A60@phx.gbl>
From: Tony Kelman <tony@kelman.net>
To: Mark Geisert <mark@maxrnd.com>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Can't link .res file (from windres) using i686-pc-mingw32-g++
Date: Wed, 24 Feb 2016 21:17:58 -0800
In-Reply-To: <56CE833C.2040200@maxrnd.com>
References: <CAK-n8j6Uq2c-a_Vz1nWq3aZSH6L8yzq5xh3ipOPUqJ+yjPAaNw@mail.gmail.com>,<56CE833C.2040200@maxrnd.com>
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u1P5IFU7020651

> Jim Reisert AD1C wrote:
>> I have a 64-bit Cygwin environment. I'm trying to compile a 32-bit
>> (target) Windows program using i686-pc-mingw32-g++
>>
>> # i686-pc-mingw32-g++ -g -Wall -Iinclude -I../../library/include -c
>> -o NPOTAdlg.o NPOTAdlg.cpp
>> # windres -Iinclude res/NPOTAdlg.rc -O coff -o res/NPOTAdlg.res
>> # i686-pc-mingw32-g++ -s -mwindows -static-libgcc -static-libstdc++
>> -lwininet NPOTA.o NPOTAdlg.o res/NPOTAdlg.res ../../library/library.a
>> /usr/i686-pc-mingw32/sys-root/mingw/lib/libwininet.a -o NPOTA

Or use i686-pc-mingw32-windres? If that doesn't exist, I know there is
one in mingw-w64 under the name i686-w64-mingw32-windres.

-Tony

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


