Compile CS with user library
Posted: Thu Jan 10, 2013 3:20 pm
Hello everybody
I would like to compile code saturne using a static library (.a extension file) in which I archived several modules and routine as objects and two headers files.
I tried to edit "CS_LIB_ADD=" in the runcase as follow :
CS_LIB_ADD = mylibpath/libname.a
or
CS_LIB_ADD = "-Lmylibpath -lname"
Niether of the two attempts does works :
the first return a compile error (all my routines in the library are not found)
the second return that -l is not recognise as a option of compile
Is there anybody to help me ?
Thank you
I would like to compile code saturne using a static library (.a extension file) in which I archived several modules and routine as objects and two headers files.
I tried to edit "CS_LIB_ADD=" in the runcase as follow :
CS_LIB_ADD = mylibpath/libname.a
or
CS_LIB_ADD = "-Lmylibpath -lname"
Niether of the two attempts does works :
the first return a compile error (all my routines in the library are not found)
the second return that -l is not recognise as a option of compile
Is there anybody to help me ?
Thank you