This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]