If a program which is based on C language depends on a library which
is implemented in C++, the C++ compiler should be used to link the
program.  Otherwise C++ static initialization may not work right, or
linking may fail entirely.  Libtool doesn't currently offer any
provision to do that.

The installed .la file for a C++ library does not indicate the
implementation language, or what linker should be used.  When the C++
library was built using modern GCC then libstdc++.la is listed as a
library dependency so at some clue may be gleaned from that fact.

It seems to me that this is a fundamental flaw in muti-lingual libtool
as it exists today.

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to