[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation and dynamic linking
From: |
Pierre THIERRY |
Subject: |
Re: Documentation and dynamic linking |
Date: |
Mon, 25 Aug 2003 22:36:20 +0200 |
User-agent: |
Mutt/1.5.4i |
> 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
--
address@hidden
OpenPGP 0xD9D50D8A
pgpsgh9kB_mcY.pgp
Description: PGP signature