;;
*cygwin* )
+ dnl On Cygwin, when using shared libraries, there might occur
+ dnl difficulties when linking libraries for several dimensions,
+ dnl as some symbols are defined in all of them. This leads to a
+ dnl linker error. We force the linker to ignore multiple symbols,
+ dnl but of course this might lead to strange program behaviour if
+ dnl you accidentally defined one symbol multiple times...
+ dnl (added 2005/07/13, Ralf B. Schulz)
CXXFLAGSPIC=
- LDFLAGSPIC=
+ LDFLAGSPIC=-Xlinker --allow-multiple-definition
;;
*)
AC_TRY_COMPILE(
[
#include <cstdlib>
-extern "C" void abort () {}
+extern "C" void abort () { for(;;) ; }
],
[
],
<h3>General</h3>
<ol>
+ <li> <p>
+ Changed: Cygwin has problems linking against deal.II DLLs if you
+ link against more than one dimension dependent library. The linker
+ might issue error messages about multiple defined symbols. This is now
+ detected, and the linker is forced to ignore these errors. However, if
+ you accidentally defined symbols twice you might have a hard time
+ debugging now... In this case remove the <code>-Xlinker
+ --allow-multiple-definition</code> flag from Make.global_options.
+ <br>
+ (Ralf B. Schulz, 2005/07/13)
+ </p>
<li> <p>
Changed: Under Cygwin, linking against LAPACK and UMFPACK did
not work. This is now fixed in the Makefiles. Changes only