From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26368 invoked by alias); 10 May 2011 14:23:16 -0000 Received: (qmail 26355 invoked by uid 22791); 10 May 2011 14:23:16 -0000 X-SWARE-Spam-Status: No, hits=2.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 May 2011 14:23:02 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1QJnq1-0001k6-NM for cygwin@cygwin.com; Tue, 10 May 2011 07:23:01 -0700 Message-ID: <31586006.post@talk.nabble.com> Date: Tue, 10 May 2011 14:23:00 -0000 From: ironsand To: cygwin@cygwin.com Subject: how to use windres.exe without installing cygwin? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-05/txt/msg00121.txt.bz2 Hi I write a script using windres.exe and want to distribute it. But I couldn't find which files schould I include in my package. It seems that windres.exe calls sh.exe and sh.exe calls gcc.exe. At first I deleted cygwin path from environment variable and copied following files in script folder. /bin/cyggcc_s-1.dll /bin/cyggmp-3.dll /bin/cygiconv-2.dll /bin/cygintl-8.dll /bin/cygmpfr-1.dll /bin/cygncursesw-10.dll /bin/cygreadline7.dll /bin/cygwin1.dll /bin/gcc-3.exe /bin/gcc-4.exe /bin/gcc.exe /bin/sh.exe /bin/windres.exe /etc/alternatives/* /lib/gcc/* Then it worked in my computer(win7). But when I tried to test in other computer(vista), it did not work, and put out following error: /bin/sh: /usr/bin/gcc: cannot execute binary file /usr/bin/windres: preprocessing failed. I tried also in cmd.exe following line, but occurred same error. c:\copiedcygwin\bin\windres.exe a.rc -o a.res For the test I copied all files under the cygwin folder from Win7 to Vista. But it does not work still. I know if I install cygwin from setup.exe to Vista, then I can use windres.exe. But I don't want to let all users to install cygwin. Is there someone who knows how to include windres.exe in a software without installing cygwin? %-| thanks -- View this message in context: http://old.nabble.com/how-to-use-windres.exe-without-installing-cygwin--tp31586006p31586006.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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