This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch] Don't provide lstat gfortran intrinsic if target doesn't support lstat.
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Danny Smith" <dannysmith at clear dot net dot nz>
- Cc: GFORTRAN <fortran at gcc dot gnu dot org>, GCC-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 21 Oct 2006 12:40:32 +0200
- Subject: Re: [Patch] Don't provide lstat gfortran intrinsic if target doesn't support lstat.
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WRZAUiW4Hz1yOKAOXOsEb6ePLcDSJNTSlwth0sVzPVhW0u+2L4W6+2QTU45uKzXsXF9JGLL7SCU6DiQPtI0aQPo0OM95xtT/ic8iVNqRjF3VKqoDOdz1EOf6fI0PUIzoz09eU/HZsQXuq3R1/BpBnY7voN1EC4vhxSPUWxCJr3M=
- References: <000001c6f4e5$c2a1ce70$f06d65da@anykey>
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