From 69cc35db87d0505418a898a80180f5a843682b35 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Tue, 14 Mar 2023 17:28:54 +0100 Subject: gccrs: Rename compiler proper gcc/rust/ChangeLog: * README.md (process): Rename `rust1` to `crab1` in examples. * Make-lang.in: Rename `rust1` to `crab1`. * config-lang.in: Likewise. * lang-specs.h: Likewise. * rustspec.cc (lang_specific_driver): Likewise. --- gcc/rust/Make-lang.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/rust/Make-lang.in') diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 9796828..8f48390 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -33,9 +33,9 @@ GCCRS_INSTALL_NAME := $(shell echo gccrs|sed '$(program_transform_name)') GCCRS_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gccrs|sed '$(program_transform_name)') # Define the names for selecting rust in LANGUAGES. -rust: rust1$(exeext) +rust: crab1$(exeext) -rust.serial = rust1$(exeext) +rust.serial = crab1$(exeext) # Tell GNU make to ignore files by these names if they exist. .PHONY: rust @@ -177,8 +177,8 @@ RUST_ALL_OBJS = $(GRS_OBJS) $(RUST_TARGET_OBJS) rust_OBJS = $(RUST_ALL_OBJS) rust/rustspec.o -# The compiler itself is called rust1 (formerly grs1) -rust1$(exeext): $(RUST_ALL_OBJS) attribs.o $(BACKEND) $(LIBDEPS) $(rust.prev) +# The compiler itself is called crab1 +crab1$(exeext): $(RUST_ALL_OBJS) attribs.o $(BACKEND) $(LIBDEPS) $(rust.prev) @$(call LINK_PROGRESS,$(INDEX.rust),start) +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ $(RUST_ALL_OBJS) attribs.o $(BACKEND) $(LIBS) $(BACKENDLIBS) @@ -285,7 +285,7 @@ rust.uninstall: selftest-rust: s-selftest-rust RUST_SELFTEST_FLAGS = -xrust -frust-incomplete-and-experimental-compiler-do-not-use $(SELFTEST_FLAGS) -RUST_SELFTEST_DEPS = rust1$(exeext) $(SELFTEST_DEPS) +RUST_SELFTEST_DEPS = crab1$(exeext) $(SELFTEST_DEPS) # Run the rust selftests s-selftest-rust: $(RUST_SELFTEST_DEPS) -- cgit v1.1