[Patch] Don't provide lstat gfortran intrinsic if target doesn't support lstat.

François-Xavier Coudert fxcoudert@gmail.com
Sat Oct 21 15:18:00 GMT 2006


> Building libgfortan as dll would also be very nice for people who don't
> use MS compiler :).

Yes indeed.

> 2006-10-20  Danny Smith  <dannysmith@users.sourceforge.net>
>
>         * configure.ac: Test for lstat.
>         * configure: Regenerate.
>         * config.h.in: Regenerate.
>         * instrinsics/stat.c: Don't create fortran lstat intrinsics if
>         lstat is not available.

I was thinking: would you object to actually provide LSTAT for
gfortran on mingw32, and defining it to be the same as STAT? (ie, in
your patch, simply keep the lstat_sub definitions). I'm not opposing
to your patch, but I'd like it even better if LSTAT was provided
(after all, strictly speaking, there are no symbolic links on Windows,
so we never have to follow them and LSTAT is formally the same as
STAT).

FX



More information about the Fortran mailing list