From: Mo DeJong <mdejong@un...> - 2003-02-06 08:48:26
Here is a rather strange problem that I ran into when attempting to build
libiconv under Msys (1.0.8) + Mingw (2.0).
dlltool --as=as --dllname libcharset-1.dll --exclude-symbols DllMain@...,_cygwin_dll_entry@...,_cygwin_noncygwin_dll_entry@...,DllMainCRTStartup@...,DllEntryPoint@... --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 `as'
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 program.
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.
Get latest updates about Open Source Projects, Conferences and News.