Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MxLXE-0005yA-UH for mharc-grub-devel@gnu.org; Mon, 12 Oct 2009 10:06:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxLXB-0005vr-21 for grub-devel@gnu.org; Mon, 12 Oct 2009 10:05:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxLX4-0005tZ-8a for grub-devel@gnu.org; Mon, 12 Oct 2009 10:05:54 -0400 Received: from [199.232.76.173] (port=46274 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxLX4-0005tN-3L for grub-devel@gnu.org; Mon, 12 Oct 2009 10:05:50 -0400 Received: from mail-px0-f202.google.com ([209.85.216.202]:61703) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxLX3-0003ER-FD for grub-devel@gnu.org; Mon, 12 Oct 2009 10:05:49 -0400 Received: by pxi40 with SMTP id 40so9407939pxi.24 for ; Mon, 12 Oct 2009 07:05:46 -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=8xTlFTJ34JXGM4rWox8H2H2nCGf+3VMChBH/X900sx4=; b=VO+SpUHKM+BNkR8Tvnso555k9Q83klX7Z45isP4SOxFR4yFBXvh64M4DWtxNXFIfM0 axGzZ1ABUKU/nkigsxzshH3Ov/qeZbHWrIbkb5czmHuvhKrCIhHrGYwcb/vli6lsNase 0eSRlmQrNGO2PctwJkWbV4BP257WWhOQYSC2Q= 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=KZ9y1cKFIZSF18Wm8rn1ksws2tkR7ANH6FHkS8JhtwrGLV1gG0BYZTUnJirREg6h78 48ji/wESxh2qxQ/1QCbQNv88tWCnoDdNIMikgcodLDRe/a/xNXFde8FtyxoXEYFyBlGn tC/s16NjV9mJAjjlbNsmP0Q31REz7wPxylLnE= MIME-Version: 1.0 Received: by 10.140.178.2 with SMTP id a2mr471392rvf.274.1255356346083; Mon, 12 Oct 2009 07:05:46 -0700 (PDT) In-Reply-To: <20091012.040735.69101007.davem@davemloft.net> References: <20091012.031430.106385568.davem@davemloft.net> <20091012.040735.69101007.davem@davemloft.net> Date: Mon, 12 Oct 2009 22:05:46 +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: powerpc/sparc problems 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: Mon, 12 Oct 2009 14:05:57 -0000 On Mon, Oct 12, 2009 at 7:07 PM, David Miller wrote: > From: Bean > Date: Mon, 12 Oct 2009 18:31:12 +0800 > >> To use the libgcc, we need to link the object file, this doesn't work >> in system that use non ELF format like mach-o. > > How can one even build programs in the mach-o format if linking > object files is not allowed? :-) > > If this is just for embedded cross compile situations, just forget it. > > We just require that you have a fully functioning cross build > environment and that means you need to have a C library around. Hi, One of the main platform of powerpc-ieee1275 is apple's ppc machine, which installs OSX by default. But OSX uses mach-o object and executable file, not ELF. The mach-o image generated by gcc of OSX isn't recognized by the ieee1275 firmware. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/