This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Help about windows programming please


Hi all,

I'm not on the mailing list but would like to ask a question about using
cygwin to create gui windows application.
So reply me to my e-mail address please.

I would like to compile a program with a resource file.
For example:
I have a C file: somefile.c and a resource file somefile.rc, and I would
like to build an executable file: somefile.exe to use in windows
environment.
So I have to do something like:

          gcc -c -O2 -Wall -o somefile.o -mno-cygwin -mwindows
somefile.c

and something like:

          windres somefile.rc somefile.res

But what I do to build an executable file with somefile.o and
somefile.res????

Thanks,

Dominique Crétel


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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