Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: tech-userlevel@NetBSD.org, Jason Thorpe <thorpej@shagadelic.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: netbsd-bugs
Date: 06/21/2005 13:02:03
--2/5bycvrmDh4d1IB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 21, 2005 at 08:46:47PM +0200, Joerg Sonnenberger wrote:
> On Tue, Jun 21, 2005 at 01:14:25PM -0500, James Chacon wrote:
> > BTW: -ffreestanding doesn't even imply it's what I would be using for
> > this:
> >=20
> >        -ffreestanding
> >            Assert that compilation takes place in a freestanding enviro=
nment.
> >            This implies -fno-builtin.  A freestanding environment is on=
e in
> >            which the standard library may not exist, and program startu=
p may
> >            not necessarily be at "main".  The most obvious example is a=
n OS
> >            kernel.  This is equivalent to -fno-hosted.
>=20
> Actually, it does say all the necessary thing.
>=20
> (a) The standard library may not exist. --> can't depend on the behaviour

The problem, though, is that most of us consider the stdio code in libc to=
=20
be the "standard" library, it is present, and it is what we want. Thus=20
-ffreestanding is not what we want.

Take care,

Bill

--2/5bycvrmDh4d1IB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFCuHI7Wz+3JHUci9cRAtvAAJ48R7COreOU74DDiuY7MkbgiyWhmwCcCI4t
pvNes6h8mqzD00CoM4QNMyc=
=Lh+3
-----END PGP SIGNATURE-----

--2/5bycvrmDh4d1IB--