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
--- Igor Peshansky wrote:
[snip]
Not sure. Builds fine on my system, with both gcc
and g++, with main.c
or main.cc commented out...
However, a WAG: when you say
Here is the source code:
-
main.c or main.cc
#include libintl.h
Do you mean that the
On 18 June 2007 12:26, Alexey Lyubimov wrote:
After I corrected that line in the source -
compilation runs Ok. BUT NOW I HAVE A PROBLEM WITH
LINKING the program:
$ gcc -o gt -g main.c
/cygdrive/c/windows/temp/cc0IXbwD.o: In function
`main':
/cygdrive/e/home/ael/work/gt/main.c:14:
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
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
cheers,
DaveK
Thanks Dave! It works!
But what do you think about this text from the gettext
manual, I've taken the example
On Fri, 15 Jun 2007, Alexey Lyubimov wrote:
Hello!
When I try to compile very simple example from
gettext's tutorial - I get compilation errors using
gcc or g++.
Here is the source code:
-
main.c or main.cc
#include libintl.h
#include locale.h
#include
[EMAIL PROTECTED] wrote:
main.c:3:21: libintl.h: No such file or directory
libintl is an optional installation on cygwin setup.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
Tim Prince wrote:
[EMAIL PROTECTED] wrote:
main.c:3:21: libintl.h: No such file or directory
libintl is an optional installation on cygwin setup.
A *Cygwin* verison of the library is an optional package, yes. But
that's irrelevant as that error was the result of trying to compile with
8 matches
Mail list logo