|
From: Jannick <thi...@gm...> - 2016-10-01 17:40:49
|
Salut Zouzou, > From: Zouzou [mailto:int...@12...] > Sent: Saturday, October 1, 2016 7:08 PM > > On 01/10/2016 18:38, Jannick wrote: > > No problem. :) But again: The funny thing here is that while bfd.a is > > available in the MinGW Lib folder, liberty.a is not, which is why I > > linked the version in the Msys folder. > > Supposedly this version is outdated (pls cf. my other posting to Eli's > > response) and > > - this is my innocent but really wild guess - liberty.a is missing as > > a lib shipped with MinGW. > Sorry I have not read the whole thread; but regarding this particular point, > <http://cygwin.com/ml/cygwin/2011-06/msg00149.html> explains why one > cannot expect bfd & iberty libraries in MinGW packages and why one should > refrain from using / linking to them. Thanks, that is interesting. However, now I am able to run a pure msys compilation to produce a working executable (thanks to Sergio on this list!). I missed this in the first place, since I had to additionally load the msys core utils to make that happen with both the library bfd and liberty residing in the msys lib folders. Thus it looks to me that - msys has consistent libs bfd and liberty to compile on msys level - liberty.a is missing in the MinGW lib folder - a mixed compilation approach (msys & MinGW) uses incompatible libs, hence linking breaks. Merci beaucoup, J. |