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 Message-ID: <04e101c0c2f9$82b37c60$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <043601c0c2f0$ff29c140$0200a8c0 AT lifelesswks> <20010411221651 DOT B31881 AT redhat DOT com> Subject: Re: building cygwin.dll instructions Date: Thu, 12 Apr 2001 12:37:24 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 12 Apr 2001 02:30:45.0182 (UTC) FILETIME=[93AFBDE0:01C0C2F8] ----- Original Message ----- From: "Christopher Faylor" To: Sent: Thursday, April 12, 2001 12:16 PM Subject: Re: building cygwin.dll instructions > 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 > This is precisely the knowledge I was missing when I started - and what IMO should be on the appropriate web page (contrib from memory). Rob -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple