[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Host g++ used when cross-compiling (fix included)
From: |
Marko Lindqvist |
Subject: |
Re: [bug-gettext] Host g++ used when cross-compiling (fix included) |
Date: |
Sun, 31 Jul 2011 15:43:25 +0300 |
On 31 July 2011 11:25, Marko Lindqvist <address@hidden> wrote:
> I've been trying to cross-compile gettext 0.18.1.1 (or any 0.18
> version) to MinGW from Linux. With same setup 0.17 compiles fine.
Success.
My assumption,based on error messages I got, is that for
cross-compiling gettext 0.18.1.1 to MinGW, libtool 2.4 is needed, but
gettext 0.18.1.1 tarball has been bootstrapped with libtool 2.2.6 (as
seen in included ltmain.sh) I modified my build process accordingly,
and got it working. This of course is not 100% certain proof that my
original assumption is correct; it may be just coincidence that
problem got solved by modifications I did.
Here is how build now works:
1. Apply patch from my previous mail
2. libtoolize (with libtool 2.4)
3. ./autogen.sh --quick --skip-gnulib
4. Set "gl_cv_func_memchr_works=yes" on configure command line
If anybody is interested about details, this is now part of
dllstack.sh script (
http://svn.cazfi.net/viewvc/crosser/trunk/dllstack.sh?view=markup ) of
crosser project ( http://www.cazfi.net/crosser/ )
- ML