This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to link *.res with MINGW32
- To: help-gcc at gnu dot org
- Subject: Re: how to link *.res with MINGW32
- From: khan at xraylith dot wisc dot edu (Mumit Khan)
- Date: 26 Aug 1999 16:02:31 GMT
- Newsgroups: gnu.gcc.help
- Organization: Center for X-ray Lithography, UW-Madison
- References: <7q399m$i6k$1@nnrp1.deja.com>
- Xref: wodc7nx0 gnu.gcc.help:708
In article <7q399m$i6k$1@nnrp1.deja.com>, <oliver_fuchs@my-deja.com> wrote:
>Hi,
>can anybody tell me how I can link a GUI programm with resources?
>eg. foo.c foo.h foo.rc foo.def
>
Convert the .rc or .res to object format first.
$ windres -o foo.res.o foo.rc
and then link in foo.res.o.
Mumit