- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
{ echo "$as_me:$LINENO: checking for C-equivalent to Fortran routine \\"SUB\\"" >&5
echo $ECHO_N "checking for C-equivalent to Fortran routine \\"SUB\\"... $ECHO_C" >&6; }
cat >conftest.f <<\\EOF
call sub()
end
EOF
doit='$FC -c ${FFLAGS} conftest.f'
if { (eval echo "$as_me:$LINENO: \\"$doit\\"") >&5
(eval $doit) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \\$? = $ac_status" >&5
(exit $ac_status); }; then
FCALLSCSUB=`$NM $NMFLAGS conftest.$OBJEXT | awk '
/SUB_/{print "SUB_";exit}
/SUB/ {print "SUB"; exit}
/sub_/{print "sub_";exit}
/sub/ {print "sub"; exit}'`
case "$FCALLSCSUB" in
'') { { echo "$as_me:$LINENO: error: not found" >&5
echo "$as_me: error: not found" >&2;}
{ (exit 1); exit 1; }; }
;;
*) { echo "$as_me:$LINENO: result: $FCALLSCSUB" >&5
echo "${ECHO_T}$FCALLSCSUB" >&6; }
;;
esac
else
{ { echo "$as_me:$LINENO: error: Could not compile conftest.f" >&5
echo "$as_me: error: Could not compile conftest.f" >&2;}
{ (exit 1); exit 1; }; }
fi
-------------------
So, basically the "nm" tool is not able to recognize the file format of the object file produced by Intel compiler (v11.1.067 ). It works with gcc.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page