From owner-freebsd-current Mon Jun 17 0:55:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id A91BB37B401; Mon, 17 Jun 2002 00:55:31 -0700 (PDT) Received: from pool0032.cvx21-bradley.dialup.earthlink.net ([209.179.192.32] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17JrMF-00068K-00; Mon, 17 Jun 2002 00:55:27 -0700 Message-ID: <3D0D95C9.70210E62@mindspring.com> Date: Mon, 17 Jun 2002 00:54:49 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Erik Trulsson Cc: Bruce Evans , Maxime Henrion , current@FreeBSD.ORG Subject: Re: duplicate -ffreestanding in kernel build References: <20020617150426.W3371-100000@gamplex.bde.org> <3D0D8788.D668B2C0@mindspring.com> <20020617073924.GA12276@falcon.midgard.homeip.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Erik Trulsson wrote: > As for documentation I suggest you read the documentation for the > -ffreestanding and -fnobuiltin options in gcc. > (And read up on the "as-if" rule in the Standard.) I read it. It did not specifically state that it made this assumption, from what I could read. I read both the man and info pages. I asked this before: am I missing some documentation, here? > > I think I'm going to be sick. > > Why? Because your assumptions turned out to be merely assumptions and > not facts? Because (as Mark Valentine said): "It means you can't futz with the implementation of the standard library in a standard way." Does "-nostdlib" imply "turn the printf/puts conversions off, thanks"? Assuming you can substitute one standard library function for another in certain cases really should be more or less predicated on your having the standard library functions in scope for the link, right? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message