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: 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=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: From: Tony Kelman To: Mark Geisert , "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: ,<56CE833C DOT 2040200 AT maxrnd DOT 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