delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/01/08:22:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 1 Oct 2004 14:22:05 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
Message-ID: <132729427221.20041001142205@familiehaase.de>
To: Reini Urban <rurban AT x-ray DOT at>
CC: cygwin <cygwin AT cygwin DOT com>
Subject: Re: libtool convenience libs problem
In-Reply-To: <415D475C.1040404@x-ray.at>
References: <415C3D27 DOT 8060801 AT x-ray DOT at> <415C41F3 DOT 7070706 AT x-ray DOT at> <20723587173 DOT 20041001124445 AT familiehaase DOT de> <415D475C DOT 1040404 AT x-ray DOT at>
MIME-Version: 1.0

Hi Reini,

>> There is also a thread n the archives where Charles explains why the
>> pass_all flag is not default for Cygwin.

> yes, that would be interesting to read, because I'm wondering what 
> prevents libtool on cygwin to ignore the duplication of efforts 
> providing PIC (in .libs) and nonPIC objects, where both are effectively
> the same. And then refuses to build on false assumptions.
>    (PIC != non-PIC on cygwin)
> Maybe some src defines are in effect for the .libs/ which could hurt.
> (or did hurt before the improved binutils)

> So far I found nothing, but charles has a lot of messages in the archive
> to explore. I'll start with the libtool demo's from the src packages. 
> mdemo-shared looks promising.

Search for 'pass_all +Charles' via Google.


> for now I live this ugly workaround:
>    extract the objects from the static lib,
>    copy them (as fake) to the PIC objects, and build my module.

That is likely the same as if you would use pass_all, but pass_all is
cheap, just a small fix in libtool.m4 or if you prefer to not modify
system libs then fix it in aclocal.m4 before running autoconf.


Gerrit
-- 
=^..^=                                     http://nyckelpiga.de/donate.html


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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