Trouble with building multilib GCC (MinGW)
niXman
i.nixman@gmail.com
Sun Mar 11 15:29:00 GMT 2012
> As far as I can tell from your original note, your build failed because
> you do not have a 64-bit version of the library -lkernel32. That is not
> a gcc library. I assume it is a Windows library. I don't know if you
> are missing a 64-bit version of the library, or if the bug is that you
> should not be linking against -lkernel32 for a 64-bit build. E.g.,
> perhaps there is a -lkernel64 on Windows, I don't know.
I have built both versions of CRT for 32 and 64 bit.
32bit CRT in <prefix>/<target>/lib path, and 64bit in <prefix>/<target>/lib64
If you see logfile: http://pastebin.com/KiGHVgVQ then you can see that
for linking 32bit and 64bit libgcc_s_sjlj-1.dll are used 32bit CRT.
If in Makefile for 64bit version I replace <prefix>/<target>/lib with
<prefix>/<target>/lib64 - linking is successfully.
I.e. the problem is that wrong Makefiles are created. I want to understand why?
Ping?
More information about the Gcc
mailing list