diff gcc/config/alpha/x-vms @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gcc/config/alpha/x-vms	Fri Jul 17 14:47:48 2009 +0900
@@ -0,0 +1,20 @@
+# Under VMS, directory names cannot contain dots.
+version:=$(shell echo $(BASEVER_c) | sed -e 's/\./_/g')
+
+libsubdir=$(libdir)/gcc-lib
+
+# Rules for linker and compiler wrappers.  These are only useful on
+# a VMS host.
+vms-ld.o : $(srcdir)/config/alpha/vms-ld.c
+	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+ld.exe : vms-ld.o
+	$(CC) -o $@ vms-ld.o ../libiberty/libiberty.a
+
+vms-cc.o : $(srcdir)/config/alpha/vms-cc.c
+	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
+decc.exe : vms-cc.o
+	$(CC) -o $@ vms-cc.o ../libiberty/libiberty.a
+
+# These extra parts can only be compiled on a VMS host and are only needed
+# on a VMS target.  The rules are in t-vms.
+VMS_EXTRA_PARTS=vcrt0.o pcrt0.o