Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mh8kY-0005IN-3q for mharc-grub-devel@gnu.org; Fri, 28 Aug 2009 17:12:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh8kU-0005H4-IQ for grub-devel@gnu.org; Fri, 28 Aug 2009 17:12:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh8kO-0005GG-5V for grub-devel@gnu.org; Fri, 28 Aug 2009 17:12:42 -0400 Received: from [199.232.76.173] (port=48347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh8kN-0005GD-VD for grub-devel@gnu.org; Fri, 28 Aug 2009 17:12:36 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:37617) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh8eA-0005ra-J2 for grub-devel@gnu.org; Fri, 28 Aug 2009 17:06:10 -0400 Received: by bwz22 with SMTP id 22so2166132bwz.42 for ; Fri, 28 Aug 2009 14:06:07 -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=ke1HXFuDw8E01p+eQ+oCAPcDQNj//QyUfS2c5K+YUC8=; b=olVgJPk0pTVVmgw0GRnNtNXonZg5b3OevZodh5o+xKDzrVXyZI2ijzXVesCHlk6TFe J+aONq+C6pbKuqxaLkBARUxU8+VdLyoU5CvhK3u6QPIQtRt1HvLY6iNjE8NIBOuutBIm dKE56kh9Rv0oj047//SZoJab/T2aLyEMWQIhw= 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=NrM/6OgbmE+hMgN2c75hGbyWU2M65rTmmVxXsXhHNSzLtM3kzFJ5Ng3QVYRVkbN+BS kiiZBMEPJ2e3lZmAY4sqTa1W/oyFPM3mZCoTLL5Uxob1cMloNgBZNOZUIEKYIf615/xI 8+IwT/AztVld2JFxCs8raPJfeirhe6V7JQWyI= MIME-Version: 1.0 Received: by 10.204.10.140 with SMTP id p12mr1330917bkp.76.1251493567770; Fri, 28 Aug 2009 14:06:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 28 Aug 2009 23:06:07 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] Support new object format for powerpc-ieee1275 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: Fri, 28 Aug 2009 21:12:43 -0000 On Fri, Aug 28, 2009 at 9:19 PM, Bean wrote: > Hi, > > Update: fix a few endian and relocation issue, I can now build all > i386/x64_64/powerpc targets from x86/powerpc OSX Tiger/Leopard. > > Note: when building on OSX, I recommend adding configure option > --disable-grub-fstest --disable-grub-emu --disable-mkfont. grub-fstest > can be built successfully, but OSX don't allow executing code from > stack, running grub-fstest would cause a segment fault. sysctl kern.nx=3D0 > Here are some information on configure parameter: > > x86 OSX 10.5 (Leopard), Xcode 3.0, gcc 4.0 > i386-pc: > ./configure --with-platform=3Dpc --disable-grub-fstest > --disable-grub-emu --disable-mkfont > > x86_64-efi: > ./configure --with-platform=3Defi =A0--target=3Dx86_64 --disable-grub-fst= est > --disable-grub-emu --disable-mkfont > > powerpc-ieee1275: > ./configure --with-platform=3Dieee1275 =A0--target=3Dpowerpc > TARGET_CC=3Dpowerpc-apple-darwin9-gcc-4.0.1 --disable-grub-fstest > --disable-grub-emu --disable-mkfont > > powerpc OSX 10.4 (Tiger), Xcode 2.5, gcc 4.0 > i386-pc: > ./configure --with-platform=3Dpc --target=3Di386 > TARGET_CC=3Di686-apple-darwin8-gcc-4.0.1 --disable-grub-fstest > --disable-grub-emu --disable-mkfont > > x86_64-efi: > ./configure --with-platform=3Defi =A0--target=3Dx86_64 > TARGET_CC=3Di686-apple-darwin8-gcc-4.0.1 --disable-grub-fstest > --disable-grub-emu --disable-mkfont > > powerpc-ieee1275: > ./configure --with-platform=3Dieee1275 --disable-grub-fstest > --disable-grub-emu --disable-mkfont > > BTW, the default bison installed on OSX tiger would cause compile > error, install bison from macport and it would be ok. > > -- > Bean > > gitgrub home: http://github.com/grub/grub/ > my fork page: http://github.com/bean123/grub/ > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git