This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Linking problems
- To: "Fredrik Eldh" <lazermasken at hotmail dot com>, gnu-win32 at cygnus dot com
- Subject: Re: Linking problems
- From: jeffdbREMOVETHIS at netzone dot com (Mikey)
- Date: Wed, 17 Sep 1997 19:24:33 GMT
- Organization: Never
- References: <19970917113417.26092.qmail@hotmail.com>
- Reply-To: jeffdbREMOVETHIS at netzone dot com
try
gcc -mwindows -o myprog.o myprog.c
gcc -mwindows -o myprog.exe myrpog.o
although -mwindows is a poor choice for
a gcc option, since it confilcts with the
-mARCH options, so it is useless as an
option to the preprocessor. Not Cygnus's
fault it came from the FSF winNT port.
.On Wed, 17 Sep 1997 04:34:17 PDT, you wrote:
>I'm a newbie when it comes to Gnu-Win32 and I'm having trouble when I
>try to link any Win32 program. The linker says I have 'undefined
>references' to all the Win32 API functions. I use the following command
>line to compile and link: "gcc program.c".
>
>Now, please don't tell me to go look this up in an FAQ or something,
>I've already done that and it didn't make me wiser.
>
>Thanks for any help,
>Fredrik Eldh
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
(jeffdbREMOVETHIS@netzone.com)
delete REMOVETHIS from the above to reply
Mikey
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".