delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/27/15:31:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199909271931.OAA11630@mercury.xraylith.wisc.edu>
To: "Kevin Wright" <kwright AT aspectdv DOT com>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: How to build static lib's
In-Reply-To: Your message of "Fri, 24 Sep 1999 16:27:21 PDT."
<002801bf06e4$5aa62010$8f88f726 AT holstein DOT ASPECTDV DOT COM>
Date: Mon, 27 Sep 1999 14:31:02 -0500
From: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>

"Kevin Wright" <kwright AT aspectdv DOT com> writes:
> Hello,
> 
> I've been using cygwin for about a year and have 
> always had some problems building static only 
> versions of libraries such as glib and gtk+.
> 
> Here's the configure options I've tried:
> 
> ./configure --disable-shared --disable-shm --disable-nls --no-recursion
> 
> However, I still end up building the .lo & subsequent .la files. 
> I tried hacking the libtool files but that was useless because it gets
> created during the configure process. The problem is that certain lib's
> programs fail with messages such as:
> 
> gdk_imlib ERROR: Cannot load image: 
> /usr/local/share/pixmaps/gnome-question.png
> All fallbacks failed.
> 
> WARNING: previous dlopen of 
> E:\usr\local\lib\libimlib-png.so wasn't correctly performed

This problem is due to a bug in cygwin-b20, and is fixed in recent
snapshots. In most cases, it is quite harmless (unless you're creating
subprocesses using fork/exec, in which case odd things may happen).

> Is there a way to make these libs truly static? 
> 
> I'm using gcc 2.95 and cygwin b20.1. Perhaps this is fixed in a 
> newer snapshot of the cygwin1.dll but I am waiting for the 
> complete installation package to be released.

You need to ask the GTK folks about it. --disable-shared should have
created static libs only, but for some packages, that is not an option.
It's not possible to tell what the problem is from just what you've 
posted, sorry.

Regards,
Mumit


--
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