Re: C++ libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 2004-03-22 at 06:53, Braden McDaniel wrote:
> IIRC, AC_CHECK_LIB chokes on the C++ scope operator.

>From what I recall, it assumes functions have a C linkage (e.g. extern
"C"), and chokes on C++ mangled symbols.

>  Use AC_TRY_LINK
> instead.

Or better yet, AC_LINK_IFELSE in recent versions of autoconf.

HTH,
-Ossama
-- 
Ossama Othman <ossama@xxxxxxxxxxxxxxxxxx>




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux