From: noer@cygnus.com (Geoffrey Noer)
Subject: Splitting cygwin.dll up into chunks
22 Jan 1997 10:34:30 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199701221225.EAA19645.cygnus.gnu-win32@rtl.cygnus.com>
Content-Type: text
Original-To: emarshal@common.net (Edward S. Marshall)
Original-Cc: grantl@deerinet.nb.ca, gnu-win32@cygnus.com
In-Reply-To: <Pine.LNX.3.93.970116121733.4916A-100000@prime.common.net> from "Edward S. Marshall" at Jan 16, 97 12:20:42 pm
X-Mailer: ELM [version 2.4 PL23]
Content-Length: 1030      
Original-Sender: owner-gnu-win32@cygnus.com

Edward S. Marshall wrote:
> 
> As an alternative approach, has anyone considered breaking cygwin.dll into
> functional portions, i.e. groups of functions which are functionally
> dependant upon each other are broken into separate dll's?
[...]

In an ideal world, I think I would like to break up the cygwin.dll
into the following smaller dlls:

* UNIX compatibility syscalls
* libc
* libm
* libgcc2 functions removed and left in libgcc2.a

Unfortunately, dlltool needs to be worked on some more before this
is really doable.  There would still be a lot of complicated dependencies
between the split up dlls since libc uses the Unix layer.

Also, as other people have noted, although executables in the beta 17.1
release were stripped before packaging, stripping the dll results in
an invalid cygwin.dll so I had to leave the debugging info in it.
(Most of the 3.5 MB is debugging info).  Strip needs to be fixed to
allow safe stripping the dlls.  For now, building without -g will
have to do...

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
