From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6605 invoked by alias); 6 Oct 2009 21:46:54 -0000 Received: (qmail 6596 invoked by uid 22791); 6 Oct 2009 21:46:53 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.accesssoftek.com (HELO mail.accesssoftek.com) (63.145.236.71) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Oct 2009 21:46:48 +0000 Received: from mail.accesssoftek.com ([172.16.0.71]) by mail.accesssoftek.com ([172.16.0.71]) with mapi; Tue, 6 Oct 2009 14:45:41 -0700 From: Viktor Kutuzov To: "binutils@sourceware.org" Date: Tue, 06 Oct 2009 21:46:00 -0000 Subject: [GOLD] Heads up. Gold for mingw. Message-ID: <6AE1604EE3EC5F4296C096518C6B77EEED793568@mail.accesssoftek.com> References: <7ebec9e70908130809n1eadef26o479906b6e228caea@mail.gmail.com><33D126FC21A4401492D88E8D464241C7@andreic6e7fe55><8AF7C7F590364AA8ABA06F51EC5E0478@andreic6e7fe55> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00136.txt.bz2 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 d= oes not support mmap/munmap. I think of extracting memory mapping to a sepa= rate 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 overla= pped I/O). I think of implementing a Windows-specific readv based on a regu= lar 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 s= traight 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