autoconf-patches
[Top][All Lists]
Advanced

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

-Bstatic and -Bdynamic flags when checking fortran compiler libraries


From: Christopher Hulbert
Subject: -Bstatic and -Bdynamic flags when checking fortran compiler libraries
Date: Thu, 22 Jan 2009 10:56:21 -0500

I have a case where I want to statically link the compiler libraries.
In this case, the PGI compiler provides the -Bstatic_pgi flag which
adds '-Bstatic' in front of its libraries. This information is lost,
and the compiler does not check for its own libraries on the compile
line to add the flag in front of. The attached patch adds cases for
the '-Bstatic' and '-Bdynamic' flags in the _AC_FC_LIBRARY_LDFLAGS
macro. Is there any chance of getting this in?

If so, the ld man page mentions other similar flags, but I did not add those.

Chris

Attachment: fortran.m4.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]