I have a project (https://build.opensuse.org/package/show/home:rogeroberholtzer:mingw/mingw32-...) I am compiling for MINGW32. It has been rebuilding fine as dependencies have been updated. Recently, I noticed that the DLL that it builds has ceased to be a DLL and is now a library archive. This is very mysterious as the source/spec files were not changed. It is the only package I have that is doing this. So I am guessing that there is something incorrect in the package that is effected by a change in the build environment. I have tried building the package locally with mingw32 as a cross compiler. Mysteriously, the configure step goes fine. But I cannot get anything to compile. I had hoped to see if I could recreate the problem locally. On OBS all seems to compile okay, but the DLL is a lib and not a DLL. I sense I am rambling here because I am a bit lost about what has happened to make things stop producing the expected results. Any suggestions for what to try? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-mingw+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-mingw+owner@opensuse.org
I sorted out the local build issue. I needed to add
CC=/usr/bin/i686-w64-mingw32-gcc before running configure.
The same thing happens on a local build as on OBS: the DLL is really
an archive. I expect an archive as well. But in a different file.
So I guess this issue is not an issue here. Sorry for the unnecessary
post. Of course, I still have a problem to sort out...
If anyone is interested:
I see that the DLL is built with:
/usr/bin/i686-w64-mingw32-gcc -shared -Wl,-E
-Wl,--out-implib,BLT25.dll -o BLT25.dll ... .o files and needed libs
If I am reading this correctly, it is saying to make a .DLL, and also
to make the import library. But for a reason I cannot understand, the
import library has the same name as the .DLL. I bet the import library
is made as a second step and replaces the just created DLL.
Time for some configure fun. I cannot understand why this worked
earlier. I have functioning OBS-built DLLs to prove it!
On Thu, Sep 25, 2014 at 11:51 AM, Roger Oberholtzer
I have a project (https://build.opensuse.org/package/show/home:rogeroberholtzer:mingw/mingw32-...) I am compiling for MINGW32. It has been rebuilding fine as dependencies have been updated. Recently, I noticed that the DLL that it builds has ceased to be a DLL and is now a library archive. This is very mysterious as the source/spec files were not changed. It is the only package I have that is doing this. So I am guessing that there is something incorrect in the package that is effected by a change in the build environment.
I have tried building the package locally with mingw32 as a cross compiler. Mysteriously, the configure step goes fine. But I cannot get anything to compile. I had hoped to see if I could recreate the problem locally. On OBS all seems to compile okay, but the DLL is a lib and not a DLL.
I sense I am rambling here because I am a bit lost about what has happened to make things stop producing the expected results. Any suggestions for what to try?
-- Roger Oberholtzer
-- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-mingw+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-mingw+owner@opensuse.org
participants (1)
-
Roger Oberholtzer