From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19993 invoked by alias); 25 Feb 2016 05:18:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19981 invoked by uid 89); 25 Feb 2016 05:18:02 -0000 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 Received: from bay004-omc2s11.hotmail.com (HELO BAY004-OMC2S11.hotmail.com) (65.54.190.86) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Thu, 25 Feb 2016 05:18:00 +0000 Received: from BAY169-W3 ([65.54.190.125]) by BAY004-OMC2S11.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 24 Feb 2016 21:17:59 -0800 X-TMN: [KTtbELnOcQfQQHs4KKlG6ihF+psnmbOg] Message-ID: From: Tony Kelman To: Mark Geisert , "cygwin@cygwin.com" Subject: RE: Can't link .res file (from windres) using i686-pc-mingw32-g++ Date: Thu, 25 Feb 2016 05:18:00 -0000 In-Reply-To: <56CE833C.2040200@maxrnd.com> References: ,<56CE833C.2040200@maxrnd.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00390.txt.bz2 > 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 =20=09=09=20=09=20=20=20=09=09=20=20 -- 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