Re: Documentation and dynamic linking
Pierre THIERRY <[email protected]> Mon, 25 Aug 2003 22:36:20 +0200
| Newsgroups | gmane.comp.gnu.cons.general |
|---|---|
| Message-ID | <[email protected]> |
> See the "How do I build shared libraries?" in the FAQ [1] After some tries, I finally got it with this: $CONS = new cons ( CXX => 'c++', SUFLIB => '.so', LIBS => '-lc -lfoo -lbar -lmy_library', CPPPATH => "$INCLUDE", LIBPATH => "$LIB", ); $LIBCONS = $CONS->clone( CXXFLAGS => '-fPIC', ARCOM => 'ld -shared -soname %> -o %> %LIBS %<', LIBS => '-lc -lfoo -lbar', ); I still need to see the changes if I use the 2.3... Quickly, le Moine Fou -- [email protected] OpenPGP 0xD9D50D8A _______________________________________________ [email protected] http://mail.gnu.org/mailman/listinfo/cons-discuss Cons URL: http://www.dsmit.com/cons/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/SnNExe13INnVDYoRAiTMAJkBg0V5X2eh5Orh/Tc+0MC7rzEcaQCgxdV0 OVAh9EGq81iZfq4VlZY2qQs= =2VM+ -----END PGP SIGNATURE-----