> Do you know if it is possible to link to a library written in Fortran > 95? And how to do it? I read an online tutorial and it looks like > this: > > * f77 -c testF.f > * g++ -c testC.cpp > * g++ -o test testF.o testC.o -lg2c > > The only thing I only know how to do is to add it in the CPPPATH in > scons.profile.
You have to add g2c to LIBS for the command that will compile your code. CPPPATH is preprocessor path, that has nothing to do with that. 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

