delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/17/05:12:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 17 Apr 2002 10:11:00 +0100
Message-ID: <3766-Wed17Apr2002101100+0100-starksb@ebi.ac.uk>
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: Westley Weimer <weimer AT EECS DOT Berkeley DOT EDU>
Cc: cygwin AT cygwin DOT com
Subject: True Static Linking
In-Reply-To: <Pine.SOL.4.44.0204162043520.20798-100000@argus.EECS.Berkeley.EDU>
References: <Pine DOT SOL DOT 4 DOT 44 DOT 0204162043520 DOT 20798-100000 AT argus DOT EECS DOT Berkeley DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019