> Assuming that libnagc.a or libnagc.so has been installed in a > directory in the search path of the linker, such as /usr/lib, and that > the NAG include files have been moved to /usr/include, then you may > link to the NAG C Library in the following manner: > > gcc driver.c -lnagc -lpthread -lm > > where driver.c is your application program. > > How do I do it for YADE? I am totally clueless. Can someone teach me > please?
Read man scons, read my previous post about putting your plugin to extra/, use LIBS=env['LIBS']+['nagc']. We link everything to -lpthread and -lm automatically, you don't need to specify those IIRC (but it will not hurt if you do). Cheers, v _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

