[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool (alpha)
From: |
Ralf Wildenhues |
Subject: |
Re: libtool (alpha) |
Date: |
Wed, 15 Feb 2006 10:34:01 +0100 |
User-agent: |
Mutt/1.5.11 |
Hi Julien,
* Julien Lecomte wrote on Wed, Feb 15, 2006 at 04:51:54AM CET:
>
> I've installed the libtool alpha cvs build under MinGW.
> Configuration and install was made under mSys (after replacing
> config.{guess,sub}):
>
> ../alpha/configure --prefix=/usr
> make
>
> Of note: I configured and installed under mSys because under MinGW it
> fails (undefined reference to `lt_libltdl_LTX_preloaded_symbols')
Weird. I haven't tested MinGW a while, but last time it worked fine.
Need to look into this. I have never tested MSYS, though.
> When I run a `libtool --help', I get :
> host-triplet: powerpc-apple-darwin8.2.0
*snip*
> How come the host-triplet is detected as *Darwin* ???
> If I run `./config.sub `./config.guess`' in the 'libltdl/config'
> directory, I get the normal 'i686-pc-msys' or 'i686-pc-mingw32'.
> I also get the expected normal response in the ./configure output.
Thanks for the bug report! I'm installing this patch to fix this.
Cheers,
Ralf
* libltdl/config/getopt.m4sh (func_help): Substitute `$host'.
* libltdl/config/ltmain.m4sh (help message): Use $host not
@host_triplet@, as the address@hidden@' substitution is done at
bootstrap
time already.
Reported by Julien Lecomte <address@hidden>.
Index: libltdl/config/getopt.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/getopt.m4sh,v
retrieving revision 1.4
diff -u -r1.4 getopt.m4sh
--- libltdl/config/getopt.m4sh 23 Jan 2006 18:33:57 -0000 1.4
+++ libltdl/config/getopt.m4sh 15 Feb 2006 07:28:34 -0000
@@ -63,6 +63,7 @@
s/^# //
s/^# *$//
s*\$progname*'$progname'*
+ s*\$host*'"$host"'*
s*\$SHELL*'"$SHELL"'*
s*\$LTCC*'"$LTCC"'*
s*\$LTCFLAGS*'"$LTCFLAGS"'*
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.37
diff -u -r1.37 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 13 Feb 2006 17:02:28 -0000 1.37
+++ libltdl/config/ltmain.m4sh 15 Feb 2006 07:28:34 -0000
@@ -60,7 +60,7 @@
# When reporting a bug, please describe a test case to reproduce it and
# include the following information:
#
-# host-triplet: @host_triplet@
+# host-triplet: $host
# shell: $SHELL
# compiler: $LTCC
# compiler flags: $LTCFLAGS
- libtool (alpha), Julien Lecomte, 2006/02/15
- Re: libtool (alpha),
Ralf Wildenhues <=