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] | |
If there isn't a GCC mechanism for communicating options set in the frontend to the runtime library, then a possible method is
an environmental variable. This environmental variable would
apply to all procedures in libgfortran.
We could have an option in the frontend (e.g., -fcheck-library or -fstrict-runtime) that sets GFC_RUNTIME_CHECK. In libgfortran/runtime/main.c (init) the environmental variable is checked and if set, then a global boolean variable can be set that all runtime procedure can access.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |