This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [Mingw-users] Win32 API : *.rc, *.ico, *.dsp files & Makefile



>-----Original Message-----
>From: mingw-users-admin@lists.sourceforge.net
>[mailto:mingw-users-admin@lists.sourceforge.net]On Behalf Of Alex
>Vinokur
>Sent: September 23, 2002 12:34
>To: mingw-users@lists.sourceforge.net
>Cc: gcc-help@gcc.gnu.org; help-make@gnu.org; gcc-help@gcc.gnu.org;
>mingw-users@lists.sourceforge.net
>Subject: [Mingw-users] Win32 API : *.rc, *.ico, *.dsp files & Makefile
>
>
>===================================================
>Windows 2000
>MinGW 2.0.0-2
>GNU gcc version 3.2 (mingw special 20020817-1)
>GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
>===================================================
>
>I am currently working with theForger's Win32 API Tutorial. (By
>the way, it is very good Tutorial).
>I have a problem with compilation if files *.rc, *.ico, *.dsp are used.
>
>How do we have to add/use *.rc, *.ico, *.dsp files in GNU Makefile ?
>Does it have to do with the windres utility ?
>
The .rc (or resource files/scripts), can be compiled by windres (part of
binutils), the resulting object file can then be included during your final
link to 'attach' the resources to the executable.

Generally, the .ico, .bmp (icons, bitmaps, etc) are included by the resource
script, so you probably shouldn't have to worry about them.

The .dsp files are generated by Microsoft's visual studio.  They are to MS's
IDE what a makefile is to the command line.  If you really feel like, you
can attempt to read them, but I don't think you'll much useful information
there for you.

HTH, Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]