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]

Re: how to link *.res with MINGW32


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


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