aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/vms
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-03-30 13:54:23 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2012-03-30 13:54:23 +0000
commitc531f06a2a0fa1e00bbba2edfa2deff4843f6036 (patch)
treed27e9cf8e6995b6306be20fb5dc0b93e988a954f /gcc/config/vms
parentfef205d534494307974ac09ebf24af877fbb8e28 (diff)
downloadgcc-c531f06a2a0fa1e00bbba2edfa2deff4843f6036.zip
gcc-c531f06a2a0fa1e00bbba2edfa2deff4843f6036.tar.gz
gcc-c531f06a2a0fa1e00bbba2edfa2deff4843f6036.tar.bz2
vms-f.c: New file.
2012-03-30 Tristan Gingold <gingold@adacore.com> * config/vms/vms-f.c: New file. * config/vms/t-vms (vms-f.o): New rule. * config.gcc (*-*-*vms*): Define fortran_target_objs. From-SVN: r186013
Diffstat (limited to 'gcc/config/vms')
-rw-r--r--gcc/config/vms/t-vms5
-rw-r--r--gcc/config/vms/vms-f.c31
2 files changed, 36 insertions, 0 deletions
diff --git a/gcc/config/vms/t-vms b/gcc/config/vms/t-vms
index 4e20bde..f2161b7 100644
--- a/gcc/config/vms/t-vms
+++ b/gcc/config/vms/t-vms
@@ -34,3 +34,8 @@ vms-c.o: $(srcdir)/config/vms/vms-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_P_H)
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
$(PREPROCESSOR_DEFINES) $< -o $@
+
+vms-f.o: $(srcdir)/config/vms/vms-f.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
+ $(TM_H)
+ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(PREPROCESSOR_DEFINES) $< -o $@
diff --git a/gcc/config/vms/vms-f.c b/gcc/config/vms/vms-f.c
new file mode 100644
index 0000000..3c3ba41
--- /dev/null
+++ b/gcc/config/vms/vms-f.c
@@ -0,0 +1,31 @@
+/* VMS support needed only by Fortran frontends.
+ Copyright (C) 2012 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+#include "config.h"
+#include "system.h"
+#include "coretypes.h"
+#include "tm.h"
+
+void
+vms_c_register_includes (const char *sysroot ATTRIBUTE_UNUSED,
+ const char *iprefix ATTRIBUTE_UNUSED,
+ int stdinc ATTRIBUTE_UNUSED)
+{
+ /* No-op for fortran. */
+}