[GOLD] Heads up. Gold for mingw.

Viktor Kutuzov vkutuzov@accesssoftek.com
Tue Oct 6 21:46:00 GMT 2009


Hello everyone,

I have started working to make gold build and work for mingw (Windows).
There are 4 areas need to get changed:

1.	The plug-in shared libraries will be plug-in DLLs. This one is easy and straight forward.

2.	Windows memory mapping doesn't fit well the used memory mapping. Mingw does not support mmap/munmap. I think of extracting memory mapping to a separate set of classes (one multi-platform abstract base class and 2 platform-specific implementation classes).

3.	Gathering read is not supported on Windows (unless we want to use overlapped I/O). I think of implementing a Windows-specific readv based on a regular read for now. Later we can make it better if we will want to.

4.	Make files to add a new mingw configuration. This one is also easy and straight forward.

Does anybody else work on this?
Does anybody else interesting in gold for Windows?
Is there a better idea how to do this?

Cheers,
Viktor



More information about the Binutils mailing list