delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/11/22:17:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 11 Apr 2001 22:16:51 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: building cygwin.dll instructions
Message-ID: <20010411221651.B31881@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <043601c0c2f0$ff29c140$0200a8c0 AT lifelesswks>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <043601c0c2f0$ff29c140$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Thu, Apr 12, 2001 at 11:36:27AM +1000

On Thu, Apr 12, 2001 at 11:36:27AM +1000, Robert Collins wrote:
>Can I suggest that the use of --prefix be documented? I mistakenly
>used --prefix=/usr and trashed my system a month or so ago - I just
>realised I never suggested it be documented. Something along the lines
>of
>
>"Don't use a --prefix that refers to the final destination. Use
>a --prefix like "/usr/src/installcygwin" and from there take the files
>to your actual working directories."

Actually, I have the opposite advice.  *Always* configure with the
correct final destination.  You don't know what will get compiled into
your applications otherwise.

When I am building my applications, I use something like:

configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
          --libdir=/usr/lib --libexecdir=/usr/sbin
make
make prefix=/netrel/inst/usr exec_prefix=/netrel/inst/usr \
     sysconfdir=/netrel/inst/etc libdir=/netrel/inst/usr/lib \
     libexecdir=/netrel/inst/usr/sbin install

cgf


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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