> On the website, the section "Linking With Your Application" explains > how to build an executable with : > > c++ -o foo foo.C `libmesh-config --cxxflags --include --ldflags` > > This is fine on my installation. > > My question, surely trivial, is : How to build a libmesh static > library to call foo functions in external programs ?
I'm not sure why you need a static library to do this instead of a shared one, but at any rate $ ./configure --disable-shared ... will do what you want. -Ben ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
