[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fortran.m4 _AC_FC_LIBRARY_LDFLAGS
From: |
Jim Edwards |
Subject: |
fortran.m4 _AC_FC_LIBRARY_LDFLAGS |
Date: |
Wed, 8 Jun 2011 10:25:13 -0600 |
I think that I've found a bug in this function, I am using pgf90 10.3-0
and the -v flag is producing a line which includes a flag -list which is
then
interpreted as a library and causes a failure later when it trys to link.
In the function I found:
# Ignore these flags.
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
|-LANG:=* | -LIST:* | -LNO:* | -link )
;;
And the obvious thing to do is add -list to this list. I did that and it
solves the problem. But this list seems really kludgey to me - wouldn't it
be better to test link with all of the -lwhatever
flags and keep the ones that pass that test?
Jim
- fortran.m4 _AC_FC_LIBRARY_LDFLAGS,
Jim Edwards <=