Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mh6yd-0002FN-Js for mharc-grub-devel@gnu.org; Fri, 28 Aug 2009 15:19:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh6ya-0002Ca-36 for grub-devel@gnu.org; Fri, 28 Aug 2009 15:19:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh6yV-00025E-75 for grub-devel@gnu.org; Fri, 28 Aug 2009 15:19:07 -0400 Received: from [199.232.76.173] (port=55993 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh6yV-00024v-0R for grub-devel@gnu.org; Fri, 28 Aug 2009 15:19:03 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:45266) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mh6yU-00023A-P0 for grub-devel@gnu.org; Fri, 28 Aug 2009 15:19:02 -0400 Received: by pxi6 with SMTP id 6so2177859pxi.27 for ; Fri, 28 Aug 2009 12:19:01 -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; bh=FxvSSgbolKZZ2RnED72X17VwfIpSQj7/Ijrdr2eVq+Y=; b=ec6f7lQVq1gm4kSFmOOTpyZXA2yjifFEOnTMLTk9w2dxbPkpGTmFxfhPqzhQ9ijIH5 Pn7QhgJYg39a3QkbIs8g3xu63NW92nQdQ5xZ2zqjvy/0IKqvE+Xo95myt9y7ZFNKfSSG Ih1b6Yf1c8oPXWaXGUakUVVBlIZU5yuFwWh8M= 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; b=jWSQ1Ksxl2gA+lQjpQT3w+CMhLebVjO4Jg7Dj/Bp0tpN4WQmuEzbNzekSUdm6vQ/iW W9q13rSvkIXrp3B5YN5m1cZ2zVzrhsaozywuaCRuw+qO9Zi+/IlY+dkGxSw0mPCKcEIV ph3rNDDiNdV9x34Kk/k0666Pz67MdF4D3F5bo= MIME-Version: 1.0 Received: by 10.140.126.19 with SMTP id y19mr643402rvc.128.1251487141055; Fri, 28 Aug 2009 12:19:01 -0700 (PDT) In-Reply-To: References: Date: Sat, 29 Aug 2009 03:19:01 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 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 19:19:08 -0000 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. grub-emu can be broken occasionally, and even if it's compiled ok, it has the same problem as grub-fstest. grub-mkfont is currently broken on OSX. Here are some information on configure parameter: x86 OSX 10.5 (Leopard), Xcode 3.0, gcc 4.0 i386-pc: ./configure --with-platform=pc --disable-grub-fstest --disable-grub-emu --disable-mkfont x86_64-efi: ./configure --with-platform=efi --target=x86_64 --disable-grub-fstest --disable-grub-emu --disable-mkfont powerpc-ieee1275: ./configure --with-platform=ieee1275 --target=powerpc TARGET_CC=powerpc-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=pc --target=i386 TARGET_CC=i686-apple-darwin8-gcc-4.0.1 --disable-grub-fstest --disable-grub-emu --disable-mkfont x86_64-efi: ./configure --with-platform=efi --target=x86_64 TARGET_CC=i686-apple-darwin8-gcc-4.0.1 --disable-grub-fstest --disable-grub-emu --disable-mkfont powerpc-ieee1275: ./configure --with-platform=ieee1275 --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/