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

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

Re: gettext cvs


From: Bruno Haible
Subject: Re: gettext cvs
Date: Mon, 8 May 2006 22:06:39 +0200
User-agent: KMail/1.5

Charles Wilson wrote:
> Okay, I've finally managed to get gettext-0.15-pre2 to compile on
> cygwin, with all appropriate patches so that the vast majority of the
> test suite passes. (testsuite 'summary' attached)

Thanks a lot! I'm starting to integrate your patches.

>                  # These libtool changes are minimal, will be in 1.5.24
>                  # just FYI, that patch is also attached

I'm putting these changes into the gettext CVS. Their place is not in
autogen.sh, because a user of the release tarball is not meant to use
autogen.sh. (He is meant to directly "./configure" right after unpacking
the tarball.)

Also, I'm changing the comments.

-fPIC is not the default on Cygwin. In other words, gcc on Cygwin
does not produce position independent code by default:

$ cat foo.c
int x;
int foo () { return x; }
$ gcc -O -c foo.c
$ objdump -r foo.o

foo.o:     file format pe-i386

RELOCATION RECORDS FOR [.text]:
OFFSET   TYPE              VALUE 
00000004 dir32             _x+0xfffffff0

The object file has text relocations. This is unlike e.g. BeOS, where
gcc produces position-independent code (via %ebx) even for executables.

So I'm changing the comments from

     # Even tho PIC is default for cygwin, still need this for old-style
     # (--disable-auto-import) libraries

to

     # Although the cygwin gcc ignores -fPIC, still need this for old-style
     # (--disable-auto-import) libraries

Bruno





reply via email to

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