This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: How to configure Cygwin to install into /usr/{lib,bin,inlcude}?
- To: Andrej Borsenkow <Andrej dot Borsenkow at mow dot siemens dot ru>
- Subject: Re: How to configure Cygwin to install into /usr/{lib,bin,inlcude}?
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Tue, 08 Aug 2000 13:14:36 -0400
- CC: Cygwin at Sourceware dot Cygnus dot Com
- References: <000201c0010f$05cb4a40$21c9ca95@mow.siemens.ru>
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
--Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com