2011/12/10 Ingo Weinhold <ingo_weinhold@xxxxxx>: > This isn't the best way to do it. "m" should be added to HOST_LIBROOT > instead. Please have a look at build/jam/BuildSetup which is the place where > that should happen. I'll look into it, but if i understand correctly it won't really help with gold. It has a stricter 'no-as-needed' flag set that from what I've read means that if libbe_build depends on libroot_build and libroot_build is the only one that links to m libbe_build won't build. At least that is how I interpreted http://wiki.debian.org/ToolChain/DSOLinking I did try to add it to libroot_build first, but maybe now that I think about it, perhaps it needs to use math.h as well to declare the functions extern. I'll see what I can come up with. /Fredrik Holmqvist, TQH