Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2009 09:24:18 +0100
From:      Roman Divacky <rdivacky@freebsd.org>
To:        perryh@pluto.rain.com
Cc:        hackers@freebsd.org, christoph.mallon@gmx.de
Subject:   Re: hosted, or not (Re: Renaming all symbols in libmp(3))
Message-ID:  <20090227082417.GA55567@freebsd.org>
In-Reply-To: <49a79a4e.jj/fvw29lwxNJgz%2B%perryh@pluto.rain.com>
References:  <20090226180756.GX19161@hoeg.nl> <20090226204243.GA96251@zim.MIT.EDU> <49A70092.6030601@gmx.de> <49a79a4e.jj/fvw29lwxNJgz%2B%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 26, 2009 at 11:46:22PM -0800, perryh@pluto.rain.com wrote:
> > >> By default, LLVM has a built-in prototype of pow(), similar to
> > >> GCC. Unlike GCC, LLVM raises a compiler error by default ...
> 
> > ... it's invalid code to have a function named pow()
> > in a hosted environment which is not /The/ pow().
>   ^^^^^^^^^^^^^^^^^^^^^^^
> 
> I don't suppose LLVM supports a commmand-line switch to use embedded
> mode instead of hosted?

of course it does.... -ffreestanding



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090227082417.GA55567>