This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Performance and executable size
- To: thanny at home dot com
- Subject: Re: Performance and executable size
- From: Anders Norlander <anorland at hem2 dot passagen dot se>
- Date: Sat, 05 Dec 1998 15:07:51 +0100
- CC: gnu-win32 at cygnus dot com
- References: <19981205044618.AAA15310@thanny>
thanny@home.com wrote:
>
> OK, I downloaded the EGCS 1.1 files, and managed to compile my program.
>
> It works, but it's 625K, and horrifically slow.
>
> Is there anything I can do to remedy this?
Compile with optimization :) Use the strip command or
link with the -s option.
> For reference, the DOS executable is about 20K, while the DPMI and OS/2
> executables are about 80K. The DOS one, compiled with BC++ 3.0, is
> actually faster than the Win32 version. The DPMI and OS/2 versions (DGJPP
> and VAC++, respectively) are both about ten times faster than the DOS
> version, so 10-15 times faster than the Win32 version.
If your program does a lot of I/O this is expected, especially
under win95.
Anders Norlander
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".