This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
>
>    cheers,
>      DaveK
>

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

---
Best regards,
Alexey Lyubimov



       
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]