delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/29/15:43:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C2E2AE1.7000401@ece.gatech.edu>
Date: Sat, 29 Dec 2001 15:43:13 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Linus Tolke <linus AT lysator DOT liu DOT se>
CC: cygwin AT cygwin DOT com
Subject: Re: Confused by gettext on cygwin
References: <KDEDICHPFOINADFLGGBDCEKICCAA DOT linus AT lysator DOT liu DOT se>

Linus Tolke wrote:

> Hello Chuck!
> 
> Thanks for taking this further. I now succeeded in building my project i.e.
> the "make" and "make dist" works. I can even unpack the distribution and
> build.
> 
> I am still not satisfied though. ;-)
> 
> Here is the new and more sofisticated problem.
> 
> 1. I build my project (make)
> 2. I build the distribution of my project (make dist)
> 3. I move the distribution (file tty-client-0.13.alfa.7.tar.gz) to a Solaris
> 2.7 system.
> 4. I unpack and run configure on the Solaris 2.7 system.
> 5. When I run make on the Solaris system it fails in the intl directory.
> 
> I interpret this to mean that the version of gettext provided by cygwin is
> not as portable as it should be. Remember that this worked before I moved my
> development environment to cygwin/autoconf-2.
> 
> Here is the error message that the compiler (linker) gives me:

> gcc -shared -Wl,--export-all-symbols -Wl,--out-implib=libintl.dll.a
> intl-compat.
> o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o
> local
> ealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o
> dngett
> ext.o ngettext.o plural.o localcharset.o -o cygintl-1.dll
> /usr/ccs/bin/ld: illegal option -- -
> /usr/ccs/bin/ld: illegal option -- -
> ld: warning: option -o appears more than once, first setting taken

Remember, the (now) current version of gettext for cygwin is only 
*partially* migrated over to libtool.  It looks as tho the parts that 
*aren't* are causing a problem on other platforms.  Therefore, the 
"full" correction to this problem will probably have to wait until:

a) we're happy with the current cygwin/libtool port
b) we get the nifty libtool changes pushed into the REAL libtool
c) we ensure that the REAL libtool (which includes our changes) works 
okay on cygwin
d) I *fully* re-libtoolize gettext using the new (REAL) libtool
e) We push the re-libtoolized version to the upstream gettext folks.

THEN, your problems should go away -- but as you can see, it'll be a 
long process.  I'm sorry, but shared libs on windows just plain suck.

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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