summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/alpha/x-vms
blob: c98f03dbbc6031e3d185e345348279bab7b89617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Under VMS, directory names cannot contain dots.
version:=$(shell echo $(gcc_version) | sed -e 's/\./_/g')

libsubdir=$(libdir)/gcc-lib

# Rules for linker and compiler wrappers.  These are only useful on
# a VMS host.
EXTRA_PROGRAMS=ld.exe decc.exe
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

# Doesn't work on VMS
USE_COLLECT2=
OpenPOWER on IntegriCloud