delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/07/06:57:21

From: thedagit AT mail DOT coos DOT or DOT us (Jason Dagit)
Subject: Simple Win32 program
7 Mar 1998 06:57:21 -0800 :
Message-ID: <34FE14E2.85B449CB.cygnus.gnu-win32@mail.coos.or.us>
Reply-To: thedagit AT mail DOT coos DOT or DOT us
Mime-Version: 1.0
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

Ok, I would just like to say, I got my first Win32 program compiled
today.  If any other newbies need the source please step forward.  I
think I have sent a copy to eveyone who asked for one, but I might have
missed someone.  Also, I would like to say something that Tomas Vanak
told me.
<Quote>
recently I've found that the success very very very depends on CR/LF at
the end of lines. If you have mounted text=binary and lines end with
CRLF,
you are f**k*d. <---[censored :)]
So try this: Try to make it yourself by issuing command from Makefile
from command line-
gcc -o wintest wintest.c crt0twin.c -lkernel32 -luser32
-Wl,--subsystem,windows
</Quote>
It worked for me.  I will try to pull the information that I have used
to get started together so that it can be added to the FAQ or put on the
Cygnus web page.  This might not get done until Sunday though.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019