Roman Divacky <[email protected]> wrote: > On Thu, Feb 26, 2009 at 11:46:22PM -0800, [email protected] 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? _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

