This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD] Heads up. Gold for mingw.
- From: "Vincent R." <forumer at smartmobili dot com>
- To: Viktor Kutuzov <vkutuzov at accesssoftek dot com>
- Cc: <binutils at sourceware dot org>
- Date: Wed, 07 Oct 2009 00:02:23 +0200
- Subject: Re: [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> <6AE1604EE3EC5F4296C096518C6B77EEED793568@mail.accesssoftek.com>
On Tue, 6 Oct 2009 14:45:40 -0700, Viktor Kutuzov
<vkutuzov@accesssoftek.com> wrote:
> 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
Last time I asked I was answered that GOLD was very specific to elf and
when I read announcment :
"gold only supports ELF targets such as GNU/Linux and other free
operating systems. gold does not support Windows. There is no
expectation that gold will ever support anything other than ELF
targets."
But I like this quote from Marc Twain : They did not know it was
impossible, so they did it!