[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building CVS with CygWin -- very LARGE executable...
From: |
Kristian Nielsen |
Subject: |
Re: Building CVS with CygWin -- very LARGE executable... |
Date: |
19 Jan 2001 09:20:09 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
> I built CVS for Win32 with CygWin like "UNIX":
> but... The size of CVS.EXE is very large now -- about 1,8 Mb :(
> What is the matter?
You can run 'strip' on the .EXE to remove debugging information. I
haven't checked the CVS sources, but my CygWin installation includes a
CVS.EXE of 1.4 Mb that reduces to 500 Kb after running strip:
$ cp /bin/cvs-cygwin.exe .
$ ls -l cvs-cygwin.exe
-rwxr-xr-x 1 administ None 1466946 Jan 19 09:15 cvs-cygwin.exe
$ strip cvs-cygwin.exe
$ ls -l cvs-cygwin.exe
-rwxr-xr-x 1 administ None 540672 Jan 19 09:15 cvs-cygwin.exe
I think you can also put the -s linker option in LDFLAGS prior to
running autoconf; something like
rm config.cache
LDFLAGS=-s ./configure --disable-server
Hope this helps,
- Kristian.