This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [libgfortran,patch] Add correct dependencies in libgfortran/Makefile.am


ping

:ADDPATCH libgfortran:

Attached patch adds correct dependencies for libgfortran (on io/io.h
and libgfortran.h). The ChangeLog is probably very hard to read,
because I had to move many small things to:

 - ensure a real separation between io/ and other directories, i.e.
io/io.h is only included in io/*.c files; other prototypes and macro
definitions are now in libgfortran.h. This includes moving the
st_printf function into io/unix.c, because it needs access to the
internals of the I/O system. It also includes moving the I/O-related
intrinsics (FTELL, FGET, ISATTY, TTYNAM & FLUSH) into a new
io/intrinsics.c file, since they also need to access the I/O system
internals.

 - add dependencies to Makefile.am: all io/*.c files depend on
io/io.h; all libgfortran source files depend on libgfortran.h. (Of
course, we also need to adjust the different files that were
created/deleted).

The patch was bootstrapped and is being regtested on i686-linux.
Opinions and comments welcome, especially from libgfortran specialists
(Jerry, Thomas, Janne). OK for mainline? (don't be afraid, even when
approved, I'll still wait for a few days to let people comment)


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