gcc/libgfortran
Janne Blomqvist b41b25345b re PR libfortran/15280 (Fortran9x commandline not accessable)
PR fortran/15280
	PR fortran/15665
	* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_IARGC and
	GFC_ISYM_COMMAND_ARGUMENT_COUNT.
	* intrinsic.c (add_functions):  Identify iargc.  Add
	command_argument_count.
	(add_subroutines): Resolve getarg.  Add get_command and
	get_command_argument.
	* intrinsic.h (gfc_resolve_getarg, gfc_resolve_get_command,
	gfc_resolve_get_command_argument): Add prototypes.
	* iresolve.c (gfc_resolve_getarg, gfc_resolve_get_command,
	gfc_resolve_get_command_argument): New functions.
	* trans-decl.c (gfor_fndecl_iargc): New variable.
	(gfc_build_intrinsic_function_decls): Set it.
	* trans-intrinsic.c (gfc_conv_intrinsic_iargc): New function.
	(gfc_conv_intrinsic_function): Use it.
	* trans.h (gfor_fndecl_iargc): Declare.
libgfortran/
	* libgfortran.h (gfc_strlen_type): Define.
	* intrinsics/args.c (getarg): Rename ...
	(getarg_i4): ... to this.
	(getarg_i8, get_command_argument_i4, get_command_argument_i8,
	get_command_i4, get_command_i8): New functions.

Co-Authored-By: Paul Brook <paul@codesourcery.com>

From-SVN: r84087
2004-07-04 17:00:12 +00:00
..
generated f95-lang.c (gfc_init_builtin_functions): Use vold_list_node. 2004-05-19 00:34:59 +00:00
intrinsics re PR libfortran/15280 (Fortran9x commandline not accessable) 2004-07-04 17:00:12 +00:00
io re PR libfortran/12839 (incorrect IO of Inf) 2004-06-28 01:30:26 +00:00
m4 f95-lang.c (gfc_init_builtin_functions): Use vold_list_node. 2004-05-19 00:34:59 +00:00
runtime Paul Brook <paul@codesourcery.com> 2004-06-30 00:52:58 +02:00
acinclude.m4 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
aclocal.m4 re PR libfortran/11800 ([gfortan] libgfortran should be multi-libed) 2004-05-30 23:58:10 +02:00
AUTHORS Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
ChangeLog re PR libfortran/15280 (Fortran9x commandline not accessable) 2004-07-04 17:00:12 +00:00
config.h.in Makefile.am (gfor_helper_src): Add runtime/normalize.f90. 2004-06-13 22:58:30 +00:00
configure libtool-version: New. 2004-07-04 09:06:54 +00:00
configure.ac libtool-version: New. 2004-07-04 09:06:54 +00:00
COPYING Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
fmain.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
INSTALL Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
libgfortran.h re PR libfortran/15280 (Fortran9x commandline not accessable) 2004-07-04 17:00:12 +00:00
libtool-version libtool-version: New. 2004-07-04 09:06:54 +00:00
Makefile.am libtool-version: New. 2004-07-04 09:06:54 +00:00
Makefile.in libtool-version: New. 2004-07-04 09:06:54 +00:00
NEWS Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
README Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00

This is the GNU Fortran 95 Runtime library (libgfortran).
It is intended to be compiled as part of GCC.

Programs must be linked with "-lgfortran -lm". The 'gfortran' driver does this
automatically.

You'll need to apply gcc_config.patch to your top level GCC source directory.
This tells the the GCC configure system about libgfor. This patch can confuse
patch as it contains a filename with a '-' in it. use "patch -p1" to avoid this
problem.

For more information about GNU Fortran 95, see http://gcc-g95.sourceforge.net

Paul Brook <paul@nowt.org>