delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
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 |
Message-ID: | <31586006.post@talk.nabble.com> |
Date: | Tue, 10 May 2011 07:23:01 -0700 (PDT) |
From: | ironsand <eisensand AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | how to use windres.exe without installing cygwin? |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |