Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Tue, 8 Aug 2000 14:12:42 -0400 To: Cygwin AT Sourceware DOT Cygnus DOT Com Subject: Re: How to configure Cygwin to install into /usr/{lib,bin,inlcude}? Message-ID: <20000808141242.B21201@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: Cygwin AT Sourceware DOT Cygnus DOT Com References: <000201c0010f$05cb4a40$21c9ca95 AT mow DOT siemens DOT ru> <39903FFC DOT C97FBEA AT ece DOT gatech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <39903FFC.C97FBEA@ece.gatech.edu>; from cwilson@ece.gatech.edu on Tue, Aug 08, 2000 at 01:14:36PM -0400 On Tue, Aug 08, 2000 at 01:14:36PM -0400, Charles Wilson wrote: >Andrej Borsenkow wrote: >> >> I configure cygwin checked out from CVS with configure --prefix=/usr (where >> configure was te top-level one in src directory). But it still installs into >> /usr/i686-pc-cygwin. How should I configure to put it in correct location? >> >> -andrej >> >> Have a nice DOS! >> B >> > >I use this script, based on one that Chris posted on cygwin-developers: > >#!/bin/sh -x >export src=/usr/src/cygwin/src >export inst=/usr/src/cygwin/inst >export CC_FOR_TARGET=/usr/bin/gcc >export CXX_FOR_TARGET=/usr/bin/c++ >$src/configure --host=i686-pc-cygwin \ > --target=i686-pc-cygwin --enable-haifa --prefix=/usr \ > --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \ > --includedir=/nonexistent/include >make CFLAGS=-O2 tooldir=/usr >make install prefix=$inst/usr exec_prefix=$inst/usr \ > bindir=$inst/usr/bin libdir=$inst/usr/lib \ > sysconfdir=$inst/etc includedir=$inst/usr/include \ > tooldir=$inst/usr These days, I have a much more complicated 'mknetrel' script which I'll someday put into CVS. I have to gird myself to support one more thing first. I don't have enough medication for that yet. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com