delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/25/00:18:20

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=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 AT kelman DOT net>
To: Mark Geisert <mark AT maxrnd DOT com>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com>,<56CE833C DOT 2040200 AT maxrnd DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019