gold work on mingw/mingw64 support
Vladimir Simonov
sv@sw.ru
Thu Dec 30 18:19:00 GMT 2010
Hi,
Attaching the patch which allows to build gold working
in mingw/mingw64 environment.
The patch's idea is to provide restricted emulation for
Linux-specific calls, like mremap, mremap, etc. And force
callers always to keep files in-memory.
Yes, this approach is a bit memory consuming but
IMO it is not a problem, especially for mingw64.
Really, for 32-bit Windows cygwin-based gold may be used.
It is a port of my patch against binutils 2.20.1 and
it was not tested deep. Original patch works
quite well - I saw only debug-info messing in very
large programs.
What do you think about this approach and the patch itself?
Thanks in advance
Vladimir Simonov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-2.21-gold-migw.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20101230/9a922da8/attachment.ksh>
More information about the Binutils
mailing list