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]
27 lines
1.3 KiB
Plaintext
27 lines
1.3 KiB
Plaintext
# x86_64-unknown-freebsd configuration
|
|
CC_x86_64-unknown-freebsd=$(CC)
|
|
CXX_x86_64-unknown-freebsd=$(CXX)
|
|
CPP_x86_64-unknown-freebsd=$(CPP)
|
|
AR_x86_64-unknown-freebsd=$(AR)
|
|
CFG_LIB_NAME_x86_64-unknown-freebsd=lib$(1).so
|
|
CFG_STATIC_LIB_NAME_x86_64-unknown-freebsd=lib$(1).a
|
|
CFG_LIB_GLOB_x86_64-unknown-freebsd=lib$(1)-*.so
|
|
CFG_LIB_DSYM_GLOB_x86_64-unknown-freebsd=$(1)-*.dylib.dSYM
|
|
CFG_CFLAGS_x86_64-unknown-freebsd := -I/usr/local/include $(CFLAGS)
|
|
CFG_GCCISH_CFLAGS_x86_64-unknown-freebsd := -Wall -Werror -g -fPIC -I/usr/local/include $(CFLAGS)
|
|
CFG_GCCISH_LINK_FLAGS_x86_64-unknown-freebsd := -shared -fPIC -g -pthread -lrt
|
|
CFG_GCCISH_DEF_FLAG_x86_64-unknown-freebsd := -Wl,--export-dynamic,--dynamic-list=
|
|
CFG_GCCISH_PRE_LIB_FLAGS_x86_64-unknown-freebsd := -Wl,-whole-archive
|
|
CFG_GCCISH_POST_LIB_FLAGS_x86_64-unknown-freebsd := -Wl,-no-whole-archive
|
|
CFG_DEF_SUFFIX_x86_64-unknown-freebsd := .bsd.def
|
|
CFG_LLC_FLAGS_x86_64-unknown-freebsd :=
|
|
CFG_INSTALL_NAME_x86_64-unknown-freebsd =
|
|
CFG_EXE_SUFFIX_x86_64-unknown-freebsd :=
|
|
CFG_WINDOWSY_x86_64-unknown-freebsd :=
|
|
CFG_UNIXY_x86_64-unknown-freebsd := 1
|
|
CFG_PATH_MUNGE_x86_64-unknown-freebsd :=
|
|
CFG_LDPATH_x86_64-unknown-freebsd :=
|
|
CFG_RUN_x86_64-unknown-freebsd=$(2)
|
|
CFG_RUN_TARG_x86_64-unknown-freebsd=$(call CFG_RUN_x86_64-unknown-freebsd,,$(2))
|
|
CFG_GNU_TRIPLE_x86_64-unknown-freebsd := x86_64-unknown-freebsd
|