This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: building cygwin.dll instructions
- To: cygwin at cygwin dot com
- Subject: Re: building cygwin.dll instructions
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 11 Apr 2001 22:16:51 -0400
- References: <043601c0c2f0$ff29c140$0200a8c0@lifelesswks>
- Reply-To: cygwin at cygwin dot com
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