This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: g++ executables / bash window
- To: Romain Behar <rbehar at lucky dot fr>
- Subject: Re: g++ executables / bash window
- From: Geoffrey Noer <noer at cygnus dot com>
- Date: Tue, 22 Sep 1998 18:03:10 -0700
- Cc: gnu-win32 at cygnus dot com
- References: <3606BD64.79CA@lucky.fr>
On Mon, Sep 21, 1998 at 10:56:04PM +0200, Romain Behar wrote:
>
> I've been using FreeBSD, then installed GNU-Win32B19 on NT4.
> I noticed that g++ executables are very big when compiled with
> GNU-Win32, that is 330Kb for a simple `cout << "Hello world!";' while
> the C version is less than 20Kb.
> Under FreeBSD which runs GNU g++ too, there is no such a differnce.
These is the same source, compiled for both platforms? I bet they're
not.
> Is there a compiler option that reduces executable size to its minimum?
Try adding -fno-rtti -fno-exceptions into the mix...
--
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".