delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/19/11:00:05

X-Spam-Check-By: sourceware.org
Date: Tue, 19 Jun 2007 10:59:36 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave Korn <dave DOT korn AT artimi DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: 1.5.24-2 (locale.h): Compilation ERRORs ?!
In-Reply-To: <046f01c7b1c2$c7bb6f70$2e08a8c0@CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.63.0706191057420.3119@access1.cims.nyu.edu>
References: <521047 DOT 75639 DOT qm AT web33212 DOT mail DOT mud DOT yahoo DOT com> <046f01c7b1c2$c7bb6f70$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mon, 18 Jun 2007, Dave Korn wrote:

> On 18 June 2007 16:35, Alexey Lyubimov wrote:
>
> > Dave Korn wrote:
> >
> >> You forgot to tell it to link against libintl.  Try
> >>
> >> $ gcc -o gt -g main.c -lintl
> >
> > Thanks Dave! It works!
> > But what do you think about this text from the gettext
> > manual, I've taken the example from:
> > "Compile as usual with gcc -o hello hello.c. The
> > program should be linked to the GNU libintl library,
> > but as this is part of the GNU C library, THIS IS DONE
> > AUTOMATICALLY for you under Linux, and OTHER SYSTEMS
> > USING GLIBC."
>
>   Cygwin is not "Linux [ ... or ... ] other systems using glibc", so on
> cygwin it is not the case that "this is done automatically".

It might be worth patching the man page for Cygwin to indicate the
necessity of -lintl.  Or we could say WJM and point people to
/usr/share/doc/Cygwin/gettext-*.README, once that contains the above
information. :-)
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

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