This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Windows Resource Scripts
- To: Timothy Legge <tlegge at fundy dot net>
- Subject: Re: Windows Resource Scripts
- From: Mark Fitzgerald <mfitzger at elora dot math dot uwaterloo dot ca>
- Date: Wed, 9 Dec 1998 11:27:54 -0500 (EST)
- cc: gnu-win32 at cygnus dot com
- Reply-To: Mark Fitzgerald <mfitzger at elora dot math dot uwaterloo dot ca>
On Tue, 8 Dec 1998, Timothy Legge wrote:
> Hi
>
> Is there any information available on how to create a Windows program that
> uses a resource file.
A little. The FAQ mentions that a COFF file can be produced from a textal
RC file using 'windres'. Type 'windres --help' to get some basic info.
Aside from taking a few minutes to get the command-line parameters right,
it worked well for me. I used output for COFF, not RES.
(Aside: what can I use RES files for with the cygwin tools?)
> My application that compiles with Visual C++ 5.0 makes use of a menu and a
> Dialog. Any ideas how to compile it with gnuwin32 gcc.
>
> Tim
Once you have compiled your .rc file into a .coff file, then just add the
.coff file to the set of object files to be linked together by the linker.
That should be it.
Mark
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".