delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/14/03:29:20

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
X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de)
From: "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
To: "Charles Wilson" <cwilson AT ece DOT gatech DOT edu>
Cc: <Cygwin AT Sourceware DOT Cygnus DOT Com>
Subject: RE: How to configure Cygwin to install into /usr/{lib,bin,inlcude}?
Date: Mon, 14 Aug 2000 11:28:51 +0400
Message-ID: <000f01c005c1$4af71e30$21c9ca95@mow.siemens.ru>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-reply-to: <39903FFC.C97FBEA@ece.gatech.edu>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Thank you. Still, there is at least one problem.

In net release libraries libc.a, libm.a, libg.a are just a link to
libcygwin.a. When I do "make install" in top level Cygwin directory
(cvs checkout winsup) it tries to install different libc.a (from newlib
directory as I understand). Trying to link with this library gives me
"multiply defined symbols" (at least __environ for sure).

So, the question is - how to configure Cygwin to install in the same structure
as distributed net release?

-andrej

> -----Original Message-----
> From: Charles Wilson [mailto:cwilson AT ece DOT gatech DOT edu]
> Sent: Tuesday, August 08, 2000 9:15 PM
> To: Andrej Borsenkow
> Cc: Cygwin AT Sourceware DOT Cygnus DOT Com
> Subject: Re: How to configure Cygwin to install into /usr/{lib,bin,inlcude}?
>
>
> 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 AT sourceware DOT cygnus DOT com

- Raw text -


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