GNU bug report logs -
#11155
when cross-compiling with LT_INIT([win32-dll]) wrappers are installed instead of real programs
Previous Next
Reported by: Marcin Wojdyr <wojdyr <at> gmail.com>
Date: Mon, 2 Apr 2012 18:34:01 UTC
Severity: normal
Tags: notabug
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
automake 1.11.1, autoconf 2.68, libtool 2.4, Fedora 16
I'm cross-compiling a project that has LT_INIT([win32-dll]) and has
programs as well as libraries.
After "make" I have programs (.exe) as well as libraries in .libs/
"make install" installs libraries from .libs:
libtool: install: /usr/bin/install -c
.libs/libDiffImage-0../bin/libDiffImage-0.dll
but instead of installing programs from .libs/ it installs wrappers
from current directory.
Apparently these wrappers on windows are small ~30kb executables.
$ ls -l automask.exe .libs/automask.exe
-rwxrwxr-x. 1 wojdyr wojdyr 27136 04-02 19:14 automask.exe
-rwxrwxr-x. 1 wojdyr wojdyr 112544 04-02 19:14 .libs/automask.exe
They are installed instead of real programs:
test -z "/run/mw/foo/bin" || /bin/mkdir -p "/run/mw/foo/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c automask.exe
diffdump.exe printpeaks.exe diff2jpeg.exe '/run/mw/foo/bin'
libtool: install: /usr/bin/install -c automask.exe /run/mw/foo/bin/automask.exe
This bug report was last modified 11 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.