hosted, or not (Re: Renaming all symbols in libmp(3))

Roman Divacky rdivacky at freebsd.org
Fri Feb 27 00:27:49 PST 2009


On Thu, Feb 26, 2009 at 11:46:22PM -0800, perryh at 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


More information about the freebsd-hackers mailing list