From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mk1pu-0004m5-9e for mharc-grub-devel@gnu.org; Sat, 05 Sep 2009 16:26:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mk1ps-0004ll-Dm for grub-devel@gnu.org; Sat, 05 Sep 2009 16:26:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mk1po-0004lR-Tj for grub-devel@gnu.org; Sat, 05 Sep 2009 16:26:12 -0400 Received: from [199.232.76.173] (port=33426 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mk1po-0004lO-Oh for grub-devel@gnu.org; Sat, 05 Sep 2009 16:26:08 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:35241 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mk1po-0005j9-Av for grub-devel@gnu.org; Sat, 05 Sep 2009 16:26:08 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1Mk1pk-0006KY-BP for grub-devel@gnu.org; Sat, 05 Sep 2009 22:26:04 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1Mk1pj-0003lp-Lu for grub-devel@gnu.org; Sat, 05 Sep 2009 22:26:03 +0200 Date: Sat, 5 Sep 2009 22:26:03 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090905202603.GA14485@thorin> References: <20090810114103.GG9344@thorin> <20090901114643.GB25290@thorin> <2EB51E44-E324-4EA0-9928-AC75C0432741@zetam.org> <20090904114858.GA6825@thorin> <5B8EBC98-B6F4-49D7-87E9-3E03A54C1CC8@zetam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5B8EBC98-B6F4-49D7-87E9-3E03A54C1CC8@zetam.org> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Report: compil error on OSX for target=i386 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: Sat, 05 Sep 2009 20:26:13 -0000 On Sat, Sep 05, 2009 at 01:47:52PM +0200, Yves Blusseau wrote: >> >> I assume you installed Apple's version of GCC. Can you try with an >> official >> GCC release? > > Yes, i have compiled on a true mac (Leopard 10.5.7) with the gcc-4.2.1 > version. > > I have tried to compil with a mac port of gcc 4.4 but configure report > an error (about the linker): > > checking whether target compiler is working... no > configure: error: cannot compile for the target > > and if i look into the config.log it's because it use the default apple > linker tool witch don't recognize some arguments: > > configure:5882: gcc-mp-4.4 -o conftest -Wall -W -Wshadow -Wpointer-arith > -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 > -falign-loops=1 -falign-functions=1 -fno-dwarf2-cfi-asm -m32 - > fno-stack-protector -mno-stack-arg-probe -nostdlib -Wl,-- > defsym,___main=0x8100 -m32 conftest.c >&5 > ld: unknown option: --defsym > collect2: ld returned 1 exit status Did you try with GNU binutils? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."