Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 17 Apr 2002 10:11:00 +0100
Message-ID: <3766-Wed17Apr2002101100+0100-starksb@ebi.ac.uk>
From: David Starks-Browning <starksb@ebi.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Westley Weimer <weimer@EECS.Berkeley.EDU>
Cc: cygwin@cygwin.com
Subject: True Static Linking
In-Reply-To: <Pine.SOL.4.44.0204162043520.20798-100000@argus.EECS.Berkeley.EDU>
References: <Pine.SOL.4.44.0204162043520.20798-100000@argus.EECS.Berkeley.EDU>

On Tuesday 16 Apr 02, Westley Weimer writes:
> I am using gcc under cygwin and I would like to ship hello.exe to a friend
> who does not have cygwin1.dll on his computer.
> ...
> (1) Is there a "-static" switch that statically links in cygwin1.dll?

Read the FAQ entry "Can I build a Cygwin program that does not require
cygwin1.dll at runtime?"

> (2) If not, how else can I solve this problem?

Have them install Cygwin.  If they only want the "cygwin" package from
the Base category, they can de-select all the other packages that
would otherwise be installed by default.

Regards,
David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

