6b130e3dd9
Removes all target-specific knowledge from rustc. Some targets have changed during this, but none of these should be very visible outside of cross-compilation. The changes make our targets more consistent. iX86-unknown-linux-gnu is now only available as i686-unknown-linux-gnu. We used to accept any value of X greater than 1. i686 was released in 1995, and should encompass the bare minimum of what Rust supports on x86 CPUs. The only two windows targets are now i686-pc-windows-gnu and x86_64-pc-windows-gnu. The iOS target has been renamed from arm-apple-ios to arm-apple-darwin. A complete list of the targets we accept now: arm-apple-darwin arm-linux-androideabi arm-unknown-linux-gnueabi arm-unknown-linux-gnueabihf i686-apple-darwin i686-pc-windows-gnu i686-unknown-freebsd i686-unknown-linux-gnu mips-unknown-linux-gnu mipsel-unknown-linux-gnu x86_64-apple-darwin x86_64-unknown-freebsd x86_64-unknown-linux-gnu x86_64-pc-windows-gnu Closes #16093 [breaking-change]
29 lines
1.6 KiB
Plaintext
29 lines
1.6 KiB
Plaintext
# mips-unknown-linux-gnu configuration
|
|
CC_mips-unknown-linux-gnu=mips-linux-gnu-gcc
|
|
CXX_mips-unknown-linux-gnu=mips-linux-gnu-g++
|
|
CPP_mips-unknown-linux-gnu=mips-linux-gnu-gcc -E
|
|
AR_mips-unknown-linux-gnu=mips-linux-gnu-ar
|
|
CFG_LIB_NAME_mips-unknown-linux-gnu=lib$(1).so
|
|
CFG_STATIC_LIB_NAME_mips-unknown-linux-gnu=lib$(1).a
|
|
CFG_LIB_GLOB_mips-unknown-linux-gnu=lib$(1)-*.so
|
|
CFG_LIB_DSYM_GLOB_mips-unknown-linux-gnu=lib$(1)-*.dylib.dSYM
|
|
CFG_CFLAGS_mips-unknown-linux-gnu := -mips32r2 -msoft-float -mabi=32 -mno-compact-eh $(CFLAGS)
|
|
CFG_GCCISH_CFLAGS_mips-unknown-linux-gnu := -Wall -g -fPIC -mips32r2 -msoft-float -mabi=32 -mno-compact-eh $(CFLAGS)
|
|
CFG_GCCISH_CXXFLAGS_mips-unknown-linux-gnu := -fno-rtti $(CXXFLAGS)
|
|
CFG_GCCISH_LINK_FLAGS_mips-unknown-linux-gnu := -shared -fPIC -g -mips32r2 -msoft-float -mabi=32
|
|
CFG_GCCISH_DEF_FLAG_mips-unknown-linux-gnu := -Wl,--export-dynamic,--dynamic-list=
|
|
CFG_GCCISH_PRE_LIB_FLAGS_mips-unknown-linux-gnu := -Wl,-whole-archive
|
|
CFG_GCCISH_POST_LIB_FLAGS_mips-unknown-linux-gnu := -Wl,-no-whole-archive
|
|
CFG_DEF_SUFFIX_mips-unknown-linux-gnu := .linux.def
|
|
CFG_LLC_FLAGS_mips-unknown-linux-gnu :=
|
|
CFG_INSTALL_NAME_mips-unknown-linux-gnu =
|
|
CFG_EXE_SUFFIX_mips-unknown-linux-gnu :=
|
|
CFG_WINDOWSY_mips-unknown-linux-gnu :=
|
|
CFG_UNIXY_mips-unknown-linux-gnu := 1
|
|
CFG_PATH_MUNGE_mips-unknown-linux-gnu := true
|
|
CFG_LDPATH_mips-unknown-linux-gnu :=
|
|
CFG_RUN_mips-unknown-linux-gnu=
|
|
CFG_RUN_TARG_mips-unknown-linux-gnu=
|
|
RUSTC_FLAGS_mips-unknown-linux-gnu := -C target-cpu=mips32r2 -C target-feature="+mips32r2,+o32" -C soft-float
|
|
CFG_GNU_TRIPLE_mips-unknown-linux-gnu := mips-unknown-linux-gnu
|