delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <3879BD29.B9CB12AA@cfwb.be> |
Date: | Mon, 10 Jan 2000 12:06:17 +0100 |
From: | CRETEL Dominique <dominique DOT cretel AT cfwb DOT be> |
X-Mailer: | Mozilla 4.7 [en] (WinNT; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Georg Fusz <fusz AT cadlab DOT tu-berlin DOT de> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: Help about windows programming please |
References: | <3879A6E4 DOT 573E29E6 AT cfwb DOT be> <3879BA55 DOT CC0A58AA AT cadlab DOT tu-berlin DOT de> |
Hello Georg, Many thanks for your help. It's okay now and I am able to compile my program. Bye, Dominique Georg Fusz wrote: > Your problem is wrong use of windres! > > Windres produces an object-file, which must be linked with the other object > files > > windres -o my_resource.o -i my_resource.rc > > gcc -o my.exe first.o second.o myresurce.o -mwindows > > See the tutorial from Collin Peters > > http://www.geocities.com/Tokyo/Towers/6162/gcc.html > > CRETEL Dominique wrote: > > > > 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 Critel > > > > -- > > Want to unsubscribe from this list? > > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > -- > Georg Fusz > > home-page: http://cadence.fb12.tu-berlin.de/~fusz/ > > Fon: > Universitaet: +49 30 314 26 884 > privat: : +49 30 815 30 32 > Handy: : +49 173 20 10 696 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |