This is the mail archive of the
mailing list for the Cygwin project.
RE: 1.5.24-2 (locale.h): Compilation ERRORs ?!
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
|\ _,,,---,,_ firstname.lastname@example.org | email@example.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