From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MkLN6-00013m-CE for mharc-grub-devel@gnu.org; Sun, 06 Sep 2009 13:17:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkLN4-00011f-GK for grub-devel@gnu.org; Sun, 06 Sep 2009 13:17:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkLMz-0000tN-Ej for grub-devel@gnu.org; Sun, 06 Sep 2009 13:17:45 -0400 Received: from [199.232.76.173] (port=34102 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkLMz-0000tB-7K for grub-devel@gnu.org; Sun, 06 Sep 2009 13:17:41 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:44999) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkLMy-0000lz-UX for grub-devel@gnu.org; Sun, 06 Sep 2009 13:17:41 -0400 Received: by fxm26 with SMTP id 26so1676516fxm.42 for ; Sun, 06 Sep 2009 10:17:40 -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=qV3n3+oFMwIBHqjXembun5qJkzHeaDYVyPCb33mKBsU=; b=OYn3zMUJaPwqBR4+BKZY8D9nestKlFl1g90lZ2+BnRSIrbrYx2eiO27LNHenKt8LFw gnuqqhvLvXDAcEFLWnT/ZgD81S5ihY1WeW/HHfUkh0eTonRrDGxt+ydZ2H6nk9+R4cPY oD/Ew5USW0NGS3mO13M405p7X02watWzQfdyw= 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=A3ZxbfGM/ho13tIXknmA+sjOd2+jbcgpEFbyWoWv8Mv9hszem+/PBQs5hyDuU2vPH5 zzLXcimplHojGshAqYQRtZfFR2U6gBE0g+minqor0wg1YWI93A47Tj6KPss3FNDF0GTS QMho2Md6CpVroCdI7YzHhOeGjIf3HA9Frxu4g= MIME-Version: 1.0 Received: by 10.204.152.214 with SMTP id h22mr255163bkw.197.1252257459726; Sun, 06 Sep 2009 10:17:39 -0700 (PDT) In-Reply-To: <65041725-91A5-453A-A4B9-7D617F3C5FB6@zetam.org> References: <20090810114103.GG9344@thorin> <20090901114643.GB25290@thorin> <20090904115930.GB6825@thorin> <20090905203158.GB14485@thorin> <244FA39F-B89C-4233-8860-2EC26392A585@zetam.org> <20090906145456.GA3548@thorin> <65041725-91A5-453A-A4B9-7D617F3C5FB6@zetam.org> Date: Sun, 6 Sep 2009 19:17:39 +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: 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: Sun, 06 Sep 2009 17:17:47 -0000 > 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 =A0-Wundef -Wstrict-prototypes -g -Os -falign-jumps= =3D1 > -falign-loops=3D1 -falign-functions=3D1 -fno-dwarf2-cfi-asm -m32 > -fno-stack-protector -mno-stack-arg-probe -nostdlib > -Wl,--defsym,___main=3D0x8100 =A0 -m32 conftest.c =A0>&5 > ld: unknown option: --defsym > collect2: ld returned 1 exit status > The problem is my fault. The fixes I added for Apple port check for Apple's CC whereas some of them should check for binutils. Can you propose a simple way to check if gcc uses Apple's binutils? > > Regards, > Yves Blusseau > _______________________________________________ > 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