Roman Divacky <freebsd.org!rdiva...@agora.rdrop.com> wrote:

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

So perhaps one solution would be to compile libmp with -ffreestanding?
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to