public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* MINGW32
@ 1999-11-22 12:10 Uri Yanover
  1999-11-22 13:07 ` MINGW32 Mumit Khan
  1999-11-30 23:28 ` MINGW32 Uri Yanover
  0 siblings, 2 replies; 10+ messages in thread
From: Uri Yanover @ 1999-11-22 12:10 UTC (permalink / raw)
  To: help-gcc

Hello anybody!
I am a beginning programmer for Windows. I heard of GNU ports for
DOS/Windows. I chose MINGW32 , so I downloaded the binaries, the libraries,
the tools etc. I installed it (unzipped and set up the environment). Then I
compiled and linked a few examples (one from the SDK and one from Petzold)
using the main libraries (user32, gdi32, kernel32, comdlg32 and  comctl32),
like this.

SET DEFAULTLIB=c:\mingw32\lib
SET GUILIBS=-L%DEFAULTLIB% -luser32 -lgdi32 -lkernel32 -lcomdlg32 -lcomctl32
gcc -c hellowin.c
gcc -o hellowin.exe hellowin.o %GUILIBS%

It generally worked, but it shows up a console window. It is reported as
c:\windows\system\conagent.exe in its properties, but I guess it is not so
informative. I also know that each Win32 application has a console attached
to it, but as far as I know the startup code should normally get rid of it.
Unfortunately, I do not have enough experience to clear it all up myself, so
I would like to ask you. Any help would be appreciated.

                Uri


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-11-30 23:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-22 12:10 MINGW32 Uri Yanover
1999-11-22 13:07 ` MINGW32 Mumit Khan
1999-11-23 12:30   ` MINGW32 Uri Yanover
1999-11-30 23:28     ` MINGW32 Uri Yanover
1999-11-27 21:59   ` MINGW32 Bill Bartley
1999-11-28 11:45     ` MINGW32 Mumit Khan
1999-11-30 23:28       ` MINGW32 Mumit Khan
1999-11-30 23:28     ` MINGW32 Bill Bartley
1999-11-30 23:28   ` MINGW32 Mumit Khan
1999-11-30 23:28 ` MINGW32 Uri Yanover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).