Re: make check failure (was: glib under mingw32 debian cross compiler, problem with windres : gmodule-win32res.lo: file not recognized: File format not recognized)

Tor Lillqvist <[email protected]>
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Andreas Ames writes:
 > The problem with .lo files which are generated by lt-compile-resource
 > is that the ltmain.sh script distributed with glib (at least in 2.0.4,
 > I didn't try 2.0.6 yet) is too old to support the format of .lo files
 > as generated by lt-compile-resource (older ltmain.sh produced and read
 > only binary .lo files which were essentially the same as or very
 > similar to normal .o files produced by the compiler; newer ones just
 > use simple shell scripts).

Hmm, I didn't know (or remember) that. Do you know if these newer
versions of libtool accept .lo files that in fact are plain object
files? Or do they expect them to always be these short shell scripts?

I mean, it would be trivial to change the lt-compile-resource script
to simply produce the resource object file called under the .lo name.

--tml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.