Luke Dunstan wrote:
>> From: Mo DeJong <mdejong@...>
>> To: mingw-msys@...
>> Subject: [Mingw-msys] Problem execing as executable from inside
>> Date: Thu, 06 Feb 2003 00:50:36 -0800
>> Hi all
>> Here is a rather strange problem that I ran into when attempting to build
>> libiconv under Msys (1.0.8) + Mingw (2.0).
>> % make
>> dlltool --as=as --dllname libcharset-1.dll --exclude-symbols
>> --def .libs/libcharset-1.dll-def --base-file
>> .libs/libcharset-1.dll-base --output-exp .libs/libcharset-1.dll-exp
>> D:\MINGW\MSYS\mingw\bin\dlltool.exe: installation problem, cannot exec
>> You can try this out for yourself by downloading:
>> And then building with --enable-shared so that libtool tries to build
>> a dll.
>> The really strange thing is that this does not seem like a problem
>> with the PATH. I passed a fully qualified path name as the argument
>> to the --as option and it still claimed that it could not exec the
>> One can "fix" this problem by removing the "--as=as" argument in each
>> location that it appears in the generated libtool script, but that is
>> a bit
>> of a hack.
>> Could this have something to do with execing a 16 bit application from
>> inside a 32 bit one? I have no idea, I am just grasping at straws here.
>> Mo DeJong
> Are you using Windows 9x/ME? If so then it would be this MSYS bug:
> It's not fixed yet and the only workaround is the hack you did.
Although this is still broken, what Mo really needs to do is replace the
libtool.m4, ltmain.sh and any other libtool parts in the source with the
CVS versions of libtool and execute the aclocal, automake, autoconf,
autoheader, etc. The msysDTK-1.0.1.exe has the needed tools, including
an almost uptodate CVS version of libtool.