Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FUlQH-0000cm-3V for mharc-grub-devel@gnu.org; Sat, 15 Apr 2006 10:06:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FUlQF-0000c8-6I for grub-devel@gnu.org; Sat, 15 Apr 2006 10:06:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FUlQD-0000bK-53 for grub-devel@gnu.org; Sat, 15 Apr 2006 10:06:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FUlQC-0000bH-W3 for grub-devel@gnu.org; Sat, 15 Apr 2006 10:06:45 -0400 Received: from [209.86.89.70] (helo=elasmtp-banded.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FUlQQ-0006n8-7w for grub-devel@gnu.org; Sat, 15 Apr 2006 10:06:58 -0400 Received: from [63.246.184.80] (helo=[192.168.0.101]) by elasmtp-banded.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1FUlQC-00018q-9W for grub-devel@gnu.org; Sat, 15 Apr 2006 10:06:44 -0400 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <57f712e870e8b39976683ebb36ced63e@penguinppc.org> References: <3ee0a8f18ea58d3a5094266f8e7f8e42@penguinppc.org> <1fa98bd274eb1d8fffb77fe4de3f1363@penguinppc.org> <87ejzzceht.fsf@xs4all.nl> <57f712e870e8b39976683ebb36ced63e@penguinppc.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7f14e5a128ae730f6843907a94cc4b4b@penguinppc.org> Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Sat, 15 Apr 2006 09:06:59 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.623) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec7928cdf508a46ed83aa1e392fc8afa61d7350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: Re: LDFLAGS 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, 15 Apr 2006 14:06:47 -0000 On Apr 15, 2006, at 8:54 AM, Hollis Blanchard wrote: > On Apr 15, 2006, at 5:36 AM, Marco Gerards wrote: > >> I think LDFLAGS are really processed by cc, no? So we do not use ld, >> but cc if I am not mistaken. > > If I misunderstood your mail, and you mean LDFLAGS in general is > supposed to be processed by $(CC), then I disagree: see for example > http://www.gnu.org/software/make/manual/html_node/Implicit- > Variables.html#Implicit-Variables . To reply to myself just one more time... I think I interpreted that page incorrectly before. The page says this: LDFLAGS Extra flags to give to compilers when they are supposed to invoke the linker, `ld'. If we take "compiler" to mean "gcc", then LDFLAGS contains gcc options, and should never be used directly by ld. It is worth noting that there is no standard LD variable, suggesting (as I have heard others suggest) that we should not be invoking ld directly. I will try out that patch. -Hollis