Simple Win32 compiling
Mumit Khan
khan@xraylith.wisc.edu
Mon Nov 22 11:35:00 GMT 1999
In article < 81bue8$1lmb9$1@fu-berlin.de >,
Amedeo Storni <astorni@softhome.net> wrote:
>Hi All,
>
>I have a VERY simple C application (it only does very basic things, like
>fopen, fread etc.; does NOT use stdin/stdout/stderr).
>
>I would like to have it running under Windows NT: I tried compiling with
>djgpp, but when I load it, an msdos window appears.
>Is there a "flavor" of gcc that allows me to get rid of the dos window,
>while keeping the application small ?
>
If you want to stick to using DJGPP, then look for the DJGPP add-on called
RSXNTDJ (marriage of RSX/NT and DJGPP) that should do what you want.
If you want to move to windows32, as opposed to using DOS, which is what
DJGPP supports, then you can always use Mingw32 or Cygwin ports. See
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ for more info.
$ gcc -o foo foo.c -mwindows
creates one of those no-DOS-window applications.
Regards,
Mumit
More information about the Gcc-help
mailing list