From: L. D. <cod...@ho...> - 2005-06-28 09:53:23
|
----- Original Message ----- From: "Rodrigo Hernandez" <kw...@ae...> To: <min...@li...> Sent: Tuesday, June 28, 2005 2:11 AM Subject: Re: [Mingw-users] Linking with dlls > Earnie Boyd wrote: > >>My point was that we need to work a patch for binutils since an archive is >>nothing more than a collection of objects. It should work either way. >> >>Earnie >> > While you're at it, would it be too much to ask to make windres objects > work from inside static libraries? > IE: > windres resource.rc -o resource.o > ar cru libsomelib.a someobj.o resource.o > g++ someprogram.cpp -L. -lsomelib -o someprogram.cpp > > Would give undefined reference errors to the symbols in resource.o, > > g++ someprogram.cpp -L. -lsomelib resouce.o -o someprogram.cpp > > however would compile fine. > > I could write a test case if you want. > > Cheers! I would be interested to see the linker error messages, since I thought that resource files do not contain "symbols".. Luke |