Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MTZkx-0004na-1N for mharc-grub-devel@gnu.org; Wed, 22 Jul 2009 07:13:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTZkv-0004lY-9C for grub-devel@gnu.org; Wed, 22 Jul 2009 07:13:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTZkq-0004kH-Gt for grub-devel@gnu.org; Wed, 22 Jul 2009 07:13:04 -0400 Received: from [199.232.76.173] (port=39630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTZkq-0004kE-ET for grub-devel@gnu.org; Wed, 22 Jul 2009 07:13:00 -0400 Received: from mail-px0-f193.google.com ([209.85.216.193]:40937) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTZkq-0006FY-7Q for grub-devel@gnu.org; Wed, 22 Jul 2009 07:13:00 -0400 Received: by pxi31 with SMTP id 31so81559pxi.14 for ; Wed, 22 Jul 2009 04:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=B4rVMBg+/KjKsDI325DX6L60pvrcE7YwBJPlBeI3NzY=; b=UrtFNPpuFKMAgHb02B7jcxMl7kvLrReGgyS0ijhdX12kSWDTh5XEAnTkZzYN2LEK8n IwLF/rMWIm3P9LFM+gOJTQeHQnf9i7gHFJ8hSADKpJ0eKbj6P9598LpFcoBfKbLLb768 GHxa3jOjKYhFeGruqVH0XpTlCamRA3TdzBHU4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kk7TA+/Rv4+zJwqC6fhYTDNt3yuW+Hc1RRe9Qu7/i5MfOroEiRGQhI4yM7uOUXiT/j TjUUdxR3swNHvcoeq4nrt+xwusX2mVC0XEQOX0fJdMzk7XxvWE0j5FIwa1E84vypMQYW pH8TygJDDap6/geYWpAJ8FmsoIrcKSexSt9xg= MIME-Version: 1.0 Received: by 10.114.148.16 with SMTP id v16mr386671wad.164.1248261178977; Wed, 22 Jul 2009 04:12:58 -0700 (PDT) In-Reply-To: References: <4A627C5A.5070700@isaac.cedarswampstudios.org> Date: Wed, 22 Jul 2009 19:12:58 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] New object format X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 11:13:05 -0000 Update: Now fully support mingw-w64, the configure line is this: ./configure --with-platform=efi --target=x86_64-w64-mingw32 Compile ok in both XP64 and linux with mingw-w64 cross compiler, the generated grub.efi tested all right on macbook. Fix some wrong assumption in types.h and efi header files. For example, grub_efi_uint_t is defined as unsigned long, but it should be grub_uint64_t in 64-bit EFI, this problem won't show previously as unsigned long is 64-bit in elf64 gcc, but it's 32-bit in mingw-w64 gcc. Fix a bug in grub-symdb. New code updated to http://github.com/bean123/grub. On Wed, Jul 22, 2009 at 4:55 AM, Bean wrote: > Update: > > Various bug fix > Support EFI platform, > i386-efi: both elf and pe are ok > x86_64-efi: elf ok > > BTW, it's very closed to build x86_64-efi using pe64. In order to > build it, you need to download mingw-w64, and link > x86_64-w64-mingw32-gcc.exe to x86_64-gcc.exe, etc, then: > > ./configure CC=x86_64-gcc --with-platform=efi --target=x86_64 > > compile ok, grub-mkimage also generate the efi image, but it crash when loading. > > The source code have been pushed to my git repository: > > http://github.com/bean123/grub > > lib branch > -- > Bean > -- Bean