From owner-freebsd-current Sat Jun 15 12:59:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 99ACC37B410; Sat, 15 Jun 2002 12:59:34 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.3) with ESMTP id g5FJxXDK072732; Sat, 15 Jun 2002 15:59:33 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.3/Submit) id g5FJxXEY072729; Sat, 15 Jun 2002 15:59:33 -0400 (EDT) (envelope-from wollman) Date: Sat, 15 Jun 2002 15:59:33 -0400 (EDT) From: Garrett Wollman Message-Id: <200206151959.g5FJxXEY072729@khavrinen.lcs.mit.edu> To: Maxime Henrion Cc: current@FreeBSD.ORG Subject: Re: duplicate -ffreestanding in kernel build In-Reply-To: <20020615194929.GQ85244@elvis.mu.org> References: <20020615191003.I747-100000@gamplex.bde.org> <3D0B9888.372EAA3E@mindspring.com> <20020615194929.GQ85244@elvis.mu.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > IIRC, -ffreestanding prevented GCC3 from being stupid optimizations like `-ffreestanding' tells the compiler that it is to operate as a free-standing implementation (in the words of the C standard); i.e., that there is no Standard C Library, and the compiler may not assume that a function which has the same name as a Standard Library function has the same semantics. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message