This is the mail archive of the
mailing list for the Cygwin project.
RE: 1.5.24-2 (locale.h): Compilation ERRORs ?!
- From: Alexey Lyubimov <alexeipobox at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 18 Jun 2007 08:34:43 -0700 (PDT)
- Subject: RE: 1.5.24-2 (locale.h): Compilation ERRORs ?!
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
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html