lmi
[Top][All Lists]
Advanced

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

Re: [lmi] "using cross tools not prefixed with host triplet"


From: Vadim Zeitlin
Subject: Re: [lmi] "using cross tools not prefixed with host triplet"
Date: Thu, 25 Aug 2016 01:09:51 +0200

On Wed, 24 Aug 2016 22:35:15 +0000 Greg Chicares <address@hidden> wrote:

GC> Which of these is the appropriate name for a cross archiver?
GC>   i686-w64-mingw32-ar
GC>   i686-w64-mingw32-gcc-ar

 I think these two are different things and the real (cross) archiver is
the first one, while the second one seems to be some LTO helper, according
to e.g. this post: https://gcc.gnu.org/ml/gcc-help/2012-03/msg00100.html

GC> Running 'install_wx.make' (lmi HEAD--pushed a minute ago) in cygwin, I see:
GC> 
GC> checking for i686-w64-mingw32-ar... no
GC> checking for ar... ar
GC> configure: WARNING: using cross tools not prefixed with host triplet
GC> 
GC> Here's what MinGW-w64 provides ({prefix}-gcc-ar, {prefix}-gcc-nm...):
GC> 
GC> $ls /MinGW_/bin/i686-w64-mingw32*
GC> /MinGW_/bin/i686-w64-mingw32-c++.exe
GC> /MinGW_/bin/i686-w64-mingw32-g++.exe
GC> /MinGW_/bin/i686-w64-mingw32-gcc-4.9.1.exe
GC> /MinGW_/bin/i686-w64-mingw32-gcc-ar.exe
GC> /MinGW_/bin/i686-w64-mingw32-gcc-nm.exe
GC> /MinGW_/bin/i686-w64-mingw32-gcc-ranlib.exe
GC> /MinGW_/bin/i686-w64-mingw32-gcc.exe
GC> /MinGW_/bin/i686-w64-mingw32-gfortran.exe

 Strange, under Cygwin I have

% print -l $commands |grep '[/-]ar$'|xargs ls -l
-rwxr-xr-x 2 zeitlin None  764455 Jan  8  2015 /usr/bin/ar
-rwxr-xr-x 2 zeitlin None   26653 Jul  2  2015 /usr/bin/gcc-ar
-rwxr-xr-x 2 zeitlin None   26653 Jul  2  2015 /usr/bin/i686-pc-cygwin-gcc-ar
-rwxr-xr-x 2 zeitlin None  680477 Jul  4  2013 /usr/bin/i686-pc-mingw32-ar
-rwxr-xr-x 1 zeitlin None   19982 Jul 17  2013 /usr/bin/i686-pc-mingw32-gcc-ar
-rwxr-xr-x 2 zeitlin None  790045 May  4  2015 /usr/bin/i686-w64-mingw32-ar
-rwxr-xr-x 1 zeitlin None   26653 Jun 18  2015 /usr/bin/i686-w64-mingw32-gcc-ar
-rwxr-xr-x 2 zeitlin None 1031709 Mar  3  2015 /usr/bin/x86_64-pc-cygwin-ar
-rwxr-xr-x 1 zeitlin None   26653 Mar  3  2015 /usr/bin/x86_64-pc-cygwin-gcc-ar
-rwxr-xr-x 2 zeitlin None 1049117 Mar 22  2015 /usr/bin/x86_64-w64-mingw32-ar
-rwxr-xr-x 1 zeitlin None   26653 Jun 19  2015 
/usr/bin/x86_64-w64-mingw32-gcc-ar

i.e. I do have both versions.


GC> BTW, wxPdfDoc's configure script reports:
GC> 
GC> checking for i686-w64-mingw32-ranlib... no
GC> checking for ranlib... ranlib
GC> configure: WARNING: using cross tools not prefixed with host triplet

 This definitely looks wrong, surely the host ranlib can't be used when
cross-compiling.

 I don't have access to the Linux machine on which I've been cross-building
lmi right now, but I'll recheck what happens there when I get it back.

 Regards,
VZ


reply via email to

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