From: ironsand <eisensand@gmail.com>
To: cygwin@cygwin.com
Subject: how to use windres.exe without installing cygwin?
Date: Tue, 10 May 2011 14:23:00 -0000 [thread overview]
Message-ID: <31586006.post@talk.nabble.com> (raw)
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
next reply other threads:[~2011-05-10 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-10 14:23 ironsand [this message]
2011-05-10 14:52 ` Corinna Vinschen
2011-05-10 15:39 ` Charles Wilson
2011-05-11 10:18 ` ironsand
2011-05-11 10:15 ` ironsand
2011-05-17 12:57 ` ironsand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31586006.post@talk.nabble.com \
--to=eisensand@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).