This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] Heads up. Gold for mingw.
- From: Viktor Kutuzov <vkutuzov at accesssoftek dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 6 Oct 2009 14:45:40 -0700
- Subject: [GOLD] Heads up. Gold for mingw.
- References: <7ebec9e70908130809n1eadef26o479906b6e228caea@mail.gmail.com><33D126FC21A4401492D88E8D464241C7@andreic6e7fe55><m3prabpjnt.fsf@google.com><8AF7C7F590364AA8ABA06F51EC5E0478@andreic6e7fe55> <m3my5emk9n.fsf@google.com> <DFB1B4C0C31647EFBF45F1199BB66A3D@andreic6e7fe55> <C785DF9E73CB4DB487F8AB66740305D7@andreic6e7fe55> <A201A3F28FC84CAA82367390CEE28ED6@andreic6e7fe55>
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