bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About libintl.a and libgnuintl.a


From: hui zeng
Subject: Re: About libintl.a and libgnuintl.a
Date: Thu, 1 Jul 2010 19:36:32 +0800

Hi:
      Thanks to your reply. Here is the detailed discription:
      The target platform is ARM, and the --host options are arm-linux and
arm-hismall-linux (two different ARM platforms). Using arm-linux-gcc, the
compiled lib is libgnuintl.a (and also the .so libs), while using
arm-hismall-linux-gcc, the compiled lib is libintl.a.
      When I use these two libs in two platforms with a simple hello
program, only the one that links with libgnuintl.a works fine. I use strace
to trace system calls in these two executables and found that the corrent
one has a system call that opens the mo file and the error one does not have
such function calls. It seems that in the wrong program, the gettext()
function does not have any effects on the qouted string.
      I'm not sure whether this is caused by different configure results
that generates different Makefiles. I think this is due to different
compiling environment, but I'm not sure what is the exact difference.

On Thu, Jul 1, 2010 at 7:01 PM, Bruno Haible <address@hidden> wrote:

> Hi,
>
> Your question is too vague. Please provide more details.
>
> >       I've been cross-compiling gettext
>
> Which target platform? Which --host option did you pass?
>
> >       using different compilers.
>
> Which compilers? Which value of CC did you use?
>
> >       The
> > compilation passed but they generate different results, namely, in the
> > directory  gettext-tools/intl/.libs, the compiled library files are
> > libintl.a and libgnuintl.a respectively
>
> This is normal. These two libraries are supposed tro be different; that's
> why they have different names.
>
> But you should not use libraries from gettext-tools/intl/.libs, but rather
> what "make install" has installed.
>
> > and only libgnuintl works fine in its platform.
>
> What was the problem with the other one? Error message, please? How to
> reproduce it?
>
> > Please tell me why.
>
> You need to provide enough details so that someone else can reproduce your
> problem. I am not clairvoyant.
>
> Bruno
>



-- 
Best Wishes


reply via email to

[Prev in Thread] Current Thread [Next in Thread]