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]
31 lines
1.6 KiB
Plaintext
31 lines
1.6 KiB
Plaintext
# arm-unknown-linux-gnueabi configuration
|
|
CROSS_PREFIX_arm-unknown-linux-gnueabi=arm-linux-gnueabi-
|
|
CC_arm-unknown-linux-gnueabi=gcc
|
|
CXX_arm-unknown-linux-gnueabi=g++
|
|
CPP_arm-unknown-linux-gnueabi=gcc -E
|
|
AR_arm-unknown-linux-gnueabi=ar
|
|
CFG_LIB_NAME_arm-unknown-linux-gnueabi=lib$(1).so
|
|
CFG_STATIC_LIB_NAME_arm-unknown-linux-gnueabi=lib$(1).a
|
|
CFG_LIB_GLOB_arm-unknown-linux-gnueabi=lib$(1)-*.so
|
|
CFG_LIB_DSYM_GLOB_arm-unknown-linux-gnueabi=lib$(1)-*.dylib.dSYM
|
|
CFG_CFLAGS_arm-unknown-linux-gnueabi := -D__arm__ -mfpu=vfp $(CFLAGS)
|
|
CFG_GCCISH_CFLAGS_arm-unknown-linux-gnueabi := -Wall -g -fPIC -D__arm__ -mfpu=vfp $(CFLAGS)
|
|
CFG_GCCISH_CXXFLAGS_arm-unknown-linux-gnueabi := -fno-rtti $(CXXFLAGS)
|
|
CFG_GCCISH_LINK_FLAGS_arm-unknown-linux-gnueabi := -shared -fPIC -g
|
|
CFG_GCCISH_DEF_FLAG_arm-unknown-linux-gnueabi := -Wl,--export-dynamic,--dynamic-list=
|
|
CFG_GCCISH_PRE_LIB_FLAGS_arm-unknown-linux-gnueabi := -Wl,-whole-archive
|
|
CFG_GCCISH_POST_LIB_FLAGS_arm-unknown-linux-gnueabi := -Wl,-no-whole-archive
|
|
CFG_DEF_SUFFIX_arm-unknown-linux-gnueabi := .linux.def
|
|
CFG_LLC_FLAGS_arm-unknown-linux-gnueabi :=
|
|
CFG_INSTALL_NAME_arm-unknown-linux-gnueabi =
|
|
CFG_EXE_SUFFIX_arm-unknown-linux-gnueabi :=
|
|
CFG_WINDOWSY_arm-unknown-linux-gnueabi :=
|
|
CFG_UNIXY_arm-unknown-linux-gnueabi := 1
|
|
CFG_PATH_MUNGE_arm-unknown-linux-gnueabi := true
|
|
CFG_LDPATH_arm-unknown-linux-gnueabi :=
|
|
CFG_RUN_arm-unknown-linux-gnueabi=$(2)
|
|
CFG_RUN_TARG_arm-unknown-linux-gnueabi=$(call CFG_RUN_arm-unknown-linux-gnueabi,,$(2))
|
|
RUSTC_FLAGS_arm-unknown-linux-gnueabi :=
|
|
RUSTC_CROSS_FLAGS_arm-unknown-linux-gnueabi :=
|
|
CFG_GNU_TRIPLE_arm-unknown-linux-gnueabi := arm-unknown-linux-gnueabi
|