Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M6RVu-0001xz-38 for mharc-grub-devel@gnu.org; Tue, 19 May 2009 11:45:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6RVs-0001xi-5k for grub-devel@gnu.org; Tue, 19 May 2009 11:45:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6RVm-0001wp-NP for grub-devel@gnu.org; Tue, 19 May 2009 11:45:54 -0400 Received: from [199.232.76.173] (port=50442 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6RVm-0001wm-Ec for grub-devel@gnu.org; Tue, 19 May 2009 11:45:50 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:59885) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6RVm-0006Y9-1h for grub-devel@gnu.org; Tue, 19 May 2009 11:45:50 -0400 Received: by bwz5 with SMTP id 5so4114177bwz.42 for ; Tue, 19 May 2009 08:45:49 -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=cFmADsVNR4p/m6vRzwEJlgXQyrsNsD8phsYuCQUz718=; b=JXiK+Ri5+Fq/RpUngy1lku3krElM+gw8nUMDqSY67s+aBtXGmtmdcjQeVLKHDgiXX4 DvCU1eilFHFVutnqjGZ2wUubXrkIOVnmztUkcAGRPe/wjzsHqv0tC7XtEPp8AM7Saf7s MFZ1Gv/V4KUFGSN7cBOvjNkNQ/axLDYBXJjrc= 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=FA/7WvZVu1VBBwQNiDEonrJM7fheoqyiS/Pe1QvuNBCTKSDvbeNxkjVcvEzMaxdh8S 1WZbADkVsdslbULFkNTzZdQ8hVEdY2hRQjpdkRc/9fwf9uvIxK0ns/Ue7+2TXAnmrQpU uJ12+l6taLZZXj4fcWX8gVztyLAzzDKQ5/14o= MIME-Version: 1.0 Received: by 10.204.102.14 with SMTP id e14mr149425bko.209.1242747948949; Tue, 19 May 2009 08:45:48 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 May 2009 17:45:48 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" 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] Make grub2 compile with Apple's gcc 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: Tue, 19 May 2009 15:45:56 -0000 Patch on patch. Now it installs correctly and external module builds work too. For install script to work I had to simplify sed command. Does this new sed command poses any problems. Also agner (objconv author) accepted my patch but said that addend modification was incorrect. I've seen now that relocating behaviour differs between grub-mkimage and module loading. I made grub-mkimage to brehave the same way as grub2 module loading and this part of objconv patch isn't required anymore On Sun, May 17, 2009 at 1:14 PM, Vladimir 'phcoder' Serbinenko wrote: > Ident fixes. > > On Sun, May 17, 2009 at 1:48 AM, Vladimir 'phcoder' Serbinenko > wrote: >> Update >> >> On Sun, May 10, 2009 at 6:46 PM, Vladimir 'phcoder' Serbinenko >> wrote: >>> Hello. With this patch you can compile grub2 using Apple's gcc. Only >>> partially tested. You need objconv available from >>> http://www.agner.org/optimize/ licensed under GPL and additionally patched >>> with attached patch >>> Then you need to patch grub2 with attached patch. If you compile for >>> i386-pcbefore you begin you need to compile execute: >>> gcc -o macho2img util/macho2img.c -Iinclude >>> Then just compile grub2 normally. I will look how to automatise the >>> compilation of macho2img >>> -- >>> Regards >>> Vladimir 'phcoder' Serbinenko >>> >> >> >> >> -- >> Regards >> Vladimir 'phcoder' Serbinenko >> > > > > -- > Regards > Vladimir 'phcoder' Serbinenko > -- Regards Vladimir 'phcoder' Serbinenko