From 1bb325aac91d8913da293f2bcb0a1349d7f5915a Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Wed, 10 Apr 2024 19:40:22 +0200 Subject: [PATCH] Initial commit --- LICENSE | 165 +++++++++++++++++ README.md | 7 + build.sh | 168 ++++++++++++++++++ toolchains/aarch64-tizeniot-linux-gnu.sh | 30 ++++ toolchains/aarch64-unknown-freebsd.sh | 30 ++++ toolchains/aarch64-unknown-linux-gnu.sh | 30 ++++ toolchains/aarch64-unknown-linux-musl.sh | 30 ++++ toolchains/aarch64-unknown-serenity.sh | 30 ++++ toolchains/alpha-unknown-linux-gnu.sh | 30 ++++ toolchains/alpha-unknown-netbsd.sh | 30 ++++ toolchains/alpha-unknown-openbsd.sh | 30 ++++ toolchains/arm-bookeen-linux-gnueabi.sh | 30 ++++ toolchains/arm-cervantes-linux-gnueabi.sh | 30 ++++ toolchains/arm-kindle-linux-gnueabi.sh | 30 ++++ toolchains/arm-kindle5-linux-gnueabi.sh | 30 ++++ toolchains/arm-kindlepw2-linux-gnueabi.sh | 30 ++++ toolchains/arm-obreey-linux-gnueabi.sh | 30 ++++ toolchains/arm-remarkable-linux-gnueabihf.sh | 30 ++++ toolchains/arm-tizeniot-linux-gnueabi.sh | 30 ++++ .../arm-tizeniotheadless-linux-gnueabi.sh | 30 ++++ toolchains/arm-tizenmobile-linux-gnueabi.sh | 30 ++++ toolchains/arm-tizenwearable-linux-gnueabi.sh | 30 ++++ toolchains/arm-unknown-linux-gnueabi.sh | 30 ++++ toolchains/arm-unknown-linux-gnueabihf.sh | 30 ++++ toolchains/arm-unknown-linux-musleabihf.sh | 30 ++++ toolchains/armv7l-unknown-linux-musleabihf.sh | 30 ++++ toolchains/hppa-unknown-linux-gnu.sh | 30 ++++ toolchains/hppa-unknown-netbsd.sh | 30 ++++ toolchains/hppa-unknown-openbsd.sh | 30 ++++ toolchains/i386-tizenmobile-linux-gnueabi.sh | 30 ++++ .../i386-tizenwearable-linux-gnueabi.sh | 30 ++++ toolchains/i386-unknown-freebsd.sh | 30 ++++ toolchains/i386-unknown-linux-gnu.sh | 30 ++++ toolchains/i386-unknown-linux-musl.sh | 30 ++++ toolchains/i386-unknown-netbsdelf.sh | 30 ++++ toolchains/i386-unknown-openbsd.sh | 30 ++++ toolchains/i586-unknown-haiku.sh | 30 ++++ toolchains/ia64-unknown-linux-gnu.sh | 30 ++++ toolchains/mips-unknown-linux-gnu.sh | 30 ++++ toolchains/mips-unknown-netbsd.sh | 30 ++++ toolchains/mips64-unknown-linux-musl.sh | 30 ++++ toolchains/mips64el-unknown-linux-gnuabi64.sh | 30 ++++ toolchains/mipsel-unknown-linux-gnu.sh | 30 ++++ toolchains/powerpc-unknown-freebsd.sh | 30 ++++ toolchains/powerpc-unknown-linux-gnu.sh | 30 ++++ toolchains/powerpc-unknown-netbsd.sh | 30 ++++ toolchains/powerpc64-unknown-freebsd.sh | 30 ++++ toolchains/powerpc64-unknown-freebsd_elfv2.sh | 30 ++++ toolchains/powerpc64le-unknown-linux-gnu.sh | 30 ++++ toolchains/powerpc64le-unknown-linux-musl.sh | 30 ++++ toolchains/riscv64-unknown-freebsd.sh | 30 ++++ toolchains/riscv64-unknown-linux-musl.sh | 30 ++++ toolchains/s390-unknown-linux-gnu.sh | 30 ++++ toolchains/s390x-unknown-linux-gnu.sh | 30 ++++ toolchains/s390x-unknown-linux-musl.sh | 30 ++++ toolchains/shle-unknown-netbsdelf.sh | 30 ++++ toolchains/sparc-unknown-linux-gnu.sh | 30 ++++ toolchains/sparc-unknown-netbsdelf.sh | 30 ++++ toolchains/sparc64-unknown-freebsd.sh | 30 ++++ toolchains/sparc64-unknown-netbsd.sh | 30 ++++ toolchains/vax-unknown-netbsdelf.sh | 30 ++++ toolchains/x86_64-unknown-dragonfly.sh | 30 ++++ toolchains/x86_64-unknown-freebsd.sh | 30 ++++ toolchains/x86_64-unknown-haiku.sh | 30 ++++ toolchains/x86_64-unknown-linux-gnu.sh | 30 ++++ toolchains/x86_64-unknown-linux-musl.sh | 30 ++++ toolchains/x86_64-unknown-netbsd.sh | 30 ++++ toolchains/x86_64-unknown-openbsd.sh | 30 ++++ toolchains/x86_64-unknown-serenity.sh | 30 ++++ 69 files changed, 2320 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 build.sh create mode 100644 toolchains/aarch64-tizeniot-linux-gnu.sh create mode 100644 toolchains/aarch64-unknown-freebsd.sh create mode 100644 toolchains/aarch64-unknown-linux-gnu.sh create mode 100644 toolchains/aarch64-unknown-linux-musl.sh create mode 100644 toolchains/aarch64-unknown-serenity.sh create mode 100644 toolchains/alpha-unknown-linux-gnu.sh create mode 100644 toolchains/alpha-unknown-netbsd.sh create mode 100644 toolchains/alpha-unknown-openbsd.sh create mode 100644 toolchains/arm-bookeen-linux-gnueabi.sh create mode 100644 toolchains/arm-cervantes-linux-gnueabi.sh create mode 100644 toolchains/arm-kindle-linux-gnueabi.sh create mode 100644 toolchains/arm-kindle5-linux-gnueabi.sh create mode 100644 toolchains/arm-kindlepw2-linux-gnueabi.sh create mode 100644 toolchains/arm-obreey-linux-gnueabi.sh create mode 100644 toolchains/arm-remarkable-linux-gnueabihf.sh create mode 100644 toolchains/arm-tizeniot-linux-gnueabi.sh create mode 100644 toolchains/arm-tizeniotheadless-linux-gnueabi.sh create mode 100644 toolchains/arm-tizenmobile-linux-gnueabi.sh create mode 100644 toolchains/arm-tizenwearable-linux-gnueabi.sh create mode 100644 toolchains/arm-unknown-linux-gnueabi.sh create mode 100644 toolchains/arm-unknown-linux-gnueabihf.sh create mode 100644 toolchains/arm-unknown-linux-musleabihf.sh create mode 100644 toolchains/armv7l-unknown-linux-musleabihf.sh create mode 100644 toolchains/hppa-unknown-linux-gnu.sh create mode 100644 toolchains/hppa-unknown-netbsd.sh create mode 100644 toolchains/hppa-unknown-openbsd.sh create mode 100644 toolchains/i386-tizenmobile-linux-gnueabi.sh create mode 100644 toolchains/i386-tizenwearable-linux-gnueabi.sh create mode 100644 toolchains/i386-unknown-freebsd.sh create mode 100644 toolchains/i386-unknown-linux-gnu.sh create mode 100644 toolchains/i386-unknown-linux-musl.sh create mode 100644 toolchains/i386-unknown-netbsdelf.sh create mode 100644 toolchains/i386-unknown-openbsd.sh create mode 100644 toolchains/i586-unknown-haiku.sh create mode 100644 toolchains/ia64-unknown-linux-gnu.sh create mode 100644 toolchains/mips-unknown-linux-gnu.sh create mode 100644 toolchains/mips-unknown-netbsd.sh create mode 100644 toolchains/mips64-unknown-linux-musl.sh create mode 100644 toolchains/mips64el-unknown-linux-gnuabi64.sh create mode 100644 toolchains/mipsel-unknown-linux-gnu.sh create mode 100644 toolchains/powerpc-unknown-freebsd.sh create mode 100644 toolchains/powerpc-unknown-linux-gnu.sh create mode 100644 toolchains/powerpc-unknown-netbsd.sh create mode 100644 toolchains/powerpc64-unknown-freebsd.sh create mode 100644 toolchains/powerpc64-unknown-freebsd_elfv2.sh create mode 100644 toolchains/powerpc64le-unknown-linux-gnu.sh create mode 100644 toolchains/powerpc64le-unknown-linux-musl.sh create mode 100644 toolchains/riscv64-unknown-freebsd.sh create mode 100644 toolchains/riscv64-unknown-linux-musl.sh create mode 100644 toolchains/s390-unknown-linux-gnu.sh create mode 100644 toolchains/s390x-unknown-linux-gnu.sh create mode 100644 toolchains/s390x-unknown-linux-musl.sh create mode 100644 toolchains/shle-unknown-netbsdelf.sh create mode 100644 toolchains/sparc-unknown-linux-gnu.sh create mode 100644 toolchains/sparc-unknown-netbsdelf.sh create mode 100644 toolchains/sparc64-unknown-freebsd.sh create mode 100644 toolchains/sparc64-unknown-netbsd.sh create mode 100644 toolchains/vax-unknown-netbsdelf.sh create mode 100644 toolchains/x86_64-unknown-dragonfly.sh create mode 100644 toolchains/x86_64-unknown-freebsd.sh create mode 100644 toolchains/x86_64-unknown-haiku.sh create mode 100644 toolchains/x86_64-unknown-linux-gnu.sh create mode 100644 toolchains/x86_64-unknown-linux-musl.sh create mode 100644 toolchains/x86_64-unknown-netbsd.sh create mode 100644 toolchains/x86_64-unknown-openbsd.sh create mode 100644 toolchains/x86_64-unknown-serenity.sh diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..153d416 --- /dev/null +++ b/LICENSE @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..33a0142 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# FFmpeg + +Precompiled portable FFmpeg binaries for Linux, BSD, Haiku and SerenityOS. + +## Releases + +You can obtain releases from the [releases](https://github.com/AmanoTeam/FFmpeg-Builds/releases) page. diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..21df925 --- /dev/null +++ b/build.sh @@ -0,0 +1,168 @@ +#!/bin/bash + +declare -r FFMPEG_VERSION='7.0' +declare -r FFMPEG_SOURCE_DIRECTORY="/tmp/FFmpeg-release-${FFMPEG_VERSION}" +declare -r FFMPEG_BUILD_DIRECTORY="${FFMPEG_SOURCE_DIRECTORY}/build" +declare -r FFMPEG_INSTALL_PREFIX='/tmp/FFmpeg' + +declare -r FFMPEG_DOWNLOAD_URL="https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/${FFMPEG_VERSION}.tar.gz" +declare -r FFMPEG_TARBALL='/tmp/ffmpeg.tar.gz' + +declare -ra FFMPEG_BUILD_TARGETS=( + 'aarch64-tizeniot-linux-gnu' + 'aarch64-unknown-freebsd' + 'aarch64-unknown-linux-gnu' + 'aarch64-unknown-linux-musl' + 'aarch64-unknown-serenity' + 'alpha-unknown-linux-gnu' + 'alpha-unknown-netbsd' + 'alpha-unknown-openbsd' + 'arm-bookeen-linux-gnueabi' + 'arm-cervantes-linux-gnueabi' + 'arm-kindle-linux-gnueabi' + 'arm-kindle5-linux-gnueabi' + 'arm-kindlepw2-linux-gnueabi' + 'arm-obreey-linux-gnueabi' + 'arm-remarkable-linux-gnueabihf' + 'arm-tizeniot-linux-gnueabi' + 'arm-tizeniotheadless-linux-gnueabi' + 'arm-tizenmobile-linux-gnueabi' + 'arm-tizenwearable-linux-gnueabi' + 'arm-unknown-linux-gnueabi' + 'arm-unknown-linux-gnueabihf' + 'arm-unknown-linux-musleabihf' + 'armv7l-unknown-linux-musleabihf' + 'hppa-unknown-linux-gnu' + 'hppa-unknown-netbsd' + # 'hppa-unknown-openbsd' + 'i386-tizenmobile-linux-gnueabi' + 'i386-tizenwearable-linux-gnueabi' + 'i386-unknown-freebsd' + 'i386-unknown-linux-gnu' + 'i386-unknown-linux-musl' + 'i386-unknown-netbsdelf' + 'i386-unknown-openbsd' + 'i586-unknown-haiku' + 'ia64-unknown-linux-gnu' + 'mips-unknown-linux-gnu' + 'mips-unknown-netbsd' + 'mips64-unknown-linux-musl' + 'mips64el-unknown-linux-gnuabi64' + 'mipsel-unknown-linux-gnu' + 'powerpc-unknown-freebsd' + 'powerpc-unknown-linux-gnu' + 'powerpc-unknown-netbsd' + 'powerpc64-unknown-freebsd' + 'powerpc64-unknown-freebsd_elfv2' + 'powerpc64le-unknown-linux-gnu' + 'powerpc64le-unknown-linux-musl' + # 'riscv64-unknown-freebsd' + 'riscv64-unknown-linux-musl' + 's390-unknown-linux-gnu' + 's390x-unknown-linux-gnu' + 's390x-unknown-linux-musl' + 'shle-unknown-netbsdelf' + 'sparc-unknown-linux-gnu' + 'sparc-unknown-netbsdelf' + 'sparc64-unknown-freebsd' + 'sparc64-unknown-netbsd' + # 'vax-unknown-netbsdelf' + 'x86_64-unknown-dragonfly' + 'x86_64-unknown-freebsd' + 'x86_64-unknown-haiku' + 'x86_64-unknown-linux-gnu' + 'x86_64-unknown-linux-musl' + 'x86_64-unknown-netbsd' + 'x86_64-unknown-openbsd' + 'x86_64-unknown-serenity' +) + +if ! [ -d "${FFMPEG_SOURCE_DIRECTORY}" ]; then + if ! [ -f "${FFMPEG_TARBALL}" ]; then + wget "${FFMPEG_DOWNLOAD_URL}" \ + --output-document "${FFMPEG_TARBALL}" + fi + + tar --directory="$(dirname "${FFMPEG_SOURCE_DIRECTORY}")" --extract --file="${FFMPEG_TARBALL}" + + unlink "${FFMPEG_TARBALL}" +fi + +[ -d "${FFMPEG_BUILD_DIRECTORY}" ] || mkdir "${FFMPEG_BUILD_DIRECTORY}" + +sed --in-place 's/#if HAVE_PRCTL/#if !defined(__serenity__) \&\& HAVE_PRCTL/g' "${FFMPEG_SOURCE_DIRECTORY}/libavutil/thread.h" + +for target in "${FFMPEG_BUILD_TARGETS[@]}"; do + echo "Building for ${target}" + + source "./toolchains/${target}.sh" + + declare extra_configure_flags='' + declare os="${CROSS_COMPILE_SYSTEM}" + + if [ "${os}" = 'serenityos' ]; then + os='none' + fi + + if [ "${target}" = 'x86_64-unknown-linux-gnu' ]; then + extra_configure_flags+='--enable-lto' + fi + + pushd "${FFMPEG_BUILD_DIRECTORY}" + + LDFLAGS=-Wl,-rpath,\'\$\$\ORIGIN/../lib:\$\$\ORIGIN\' ../configure \ + --prefix="${FFMPEG_INSTALL_PREFIX}/${target}" \ + --cross-prefix="${CROSS_COMPILE_TRIPLET}-" \ + --target-os="${os}" \ + --arch="${CROSS_COMPILE_ARCHITECTURE}" \ + --disable-alsa \ + --disable-appkit \ + --disable-asm \ + --disable-audiotoolbox \ + --disable-avfoundation \ + --disable-bzlib \ + --disable-coreimage \ + --disable-debug \ + --disable-doc \ + --disable-iconv \ + --disable-libxcb \ + --disable-lzma \ + --disable-neon \ + --disable-schannel \ + --disable-sdl2 \ + --disable-securetransport \ + --disable-static \ + --disable-symver \ + --disable-videotoolbox \ + --disable-vulkan \ + --disable-xlib \ + --disable-zlib \ + --disable-manpages \ + --disable-htmlpages \ + --disable-podpages \ + --disable-txtpages \ + --enable-pic \ + --enable-shared \ + --enable-small \ + --enable-version3 \ + --extra-cflags=-Dstatic_assert=_Static_assert \ + --extra-ldflags=-fPIC \ + ${extra_configure_flags} + + make --jobs > /dev/null + make install + + pushd + pushd "${FFMPEG_INSTALL_PREFIX}" + + declare tarball="${FFMPEG_INSTALL_PREFIX}/${target}.tar.xz" + + tar --create --file=- "${target}" | xz --compress -9 > "${tarball}" + rm --recursive --force "${target}" + + sha256sum "${tarball}" | sed "s|${FFMPEG_INSTALL_PREFIX}/||" > "${tarball}.sha256" + + pushd + + rm --recursive --force "${FFMPEG_BUILD_DIRECTORY}/"* +done diff --git a/toolchains/aarch64-tizeniot-linux-gnu.sh b/toolchains/aarch64-tizeniot-linux-gnu.sh new file mode 100644 index 0000000..56fca3d --- /dev/null +++ b/toolchains/aarch64-tizeniot-linux-gnu.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='aarch64-tizeniot-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='aarch64' + +CC="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/aarch64-unknown-freebsd.sh b/toolchains/aarch64-unknown-freebsd.sh new file mode 100644 index 0000000..a7c99d5 --- /dev/null +++ b/toolchains/aarch64-unknown-freebsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='aarch64-unknown-freebsd12.3' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='aarch64' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/aarch64-unknown-linux-gnu.sh b/toolchains/aarch64-unknown-linux-gnu.sh new file mode 100644 index 0000000..da23bae --- /dev/null +++ b/toolchains/aarch64-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='aarch64-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='aarch64' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/aarch64-unknown-linux-musl.sh b/toolchains/aarch64-unknown-linux-musl.sh new file mode 100644 index 0000000..774493a --- /dev/null +++ b/toolchains/aarch64-unknown-linux-musl.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='aarch64-unknown-linux-musl' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='aarch64' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/aarch64-unknown-serenity.sh b/toolchains/aarch64-unknown-serenity.sh new file mode 100644 index 0000000..60b0554 --- /dev/null +++ b/toolchains/aarch64-unknown-serenity.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='aarch64-unknown-serenity' +CROSS_COMPILE_SYSTEM='serenityos' +CROSS_COMPILE_ARCHITECTURE='aarch64' + +CC="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/alpha-unknown-linux-gnu.sh b/toolchains/alpha-unknown-linux-gnu.sh new file mode 100644 index 0000000..f723185 --- /dev/null +++ b/toolchains/alpha-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='alpha-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='alpha' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/alpha-unknown-netbsd.sh b/toolchains/alpha-unknown-netbsd.sh new file mode 100644 index 0000000..2ec189e --- /dev/null +++ b/toolchains/alpha-unknown-netbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='alpha-unknown-netbsd' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='alpha' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/alpha-unknown-openbsd.sh b/toolchains/alpha-unknown-openbsd.sh new file mode 100644 index 0000000..57297d8 --- /dev/null +++ b/toolchains/alpha-unknown-openbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='alpha-unknown-openbsd' +CROSS_COMPILE_SYSTEM='openbsd' +CROSS_COMPILE_ARCHITECTURE='alpha' + +CC="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-bookeen-linux-gnueabi.sh b/toolchains/arm-bookeen-linux-gnueabi.sh new file mode 100644 index 0000000..c9777c5 --- /dev/null +++ b/toolchains/arm-bookeen-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-kobo-linux-gnueabihf' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${KAL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-cervantes-linux-gnueabi.sh b/toolchains/arm-cervantes-linux-gnueabi.sh new file mode 100644 index 0000000..67ac647 --- /dev/null +++ b/toolchains/arm-cervantes-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-cervantes-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-kindle-linux-gnueabi.sh b/toolchains/arm-kindle-linux-gnueabi.sh new file mode 100644 index 0000000..bca2b5f --- /dev/null +++ b/toolchains/arm-kindle-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-kindle-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-kindle5-linux-gnueabi.sh b/toolchains/arm-kindle5-linux-gnueabi.sh new file mode 100644 index 0000000..87d1ec8 --- /dev/null +++ b/toolchains/arm-kindle5-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-kindle5-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-kindlepw2-linux-gnueabi.sh b/toolchains/arm-kindlepw2-linux-gnueabi.sh new file mode 100644 index 0000000..601e47c --- /dev/null +++ b/toolchains/arm-kindlepw2-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-kindlepw2-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${KEL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-obreey-linux-gnueabi.sh b/toolchains/arm-obreey-linux-gnueabi.sh new file mode 100644 index 0000000..335d66f --- /dev/null +++ b/toolchains/arm-obreey-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-obreey-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NERO_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-remarkable-linux-gnueabihf.sh b/toolchains/arm-remarkable-linux-gnueabihf.sh new file mode 100644 index 0000000..b81c22f --- /dev/null +++ b/toolchains/arm-remarkable-linux-gnueabihf.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-remarkable-linux-gnueabihf' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NAN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-tizeniot-linux-gnueabi.sh b/toolchains/arm-tizeniot-linux-gnueabi.sh new file mode 100644 index 0000000..e4cea8e --- /dev/null +++ b/toolchains/arm-tizeniot-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-tizeniot-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-tizeniotheadless-linux-gnueabi.sh b/toolchains/arm-tizeniotheadless-linux-gnueabi.sh new file mode 100644 index 0000000..851f588 --- /dev/null +++ b/toolchains/arm-tizeniotheadless-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-tizeniotheadless-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-tizenmobile-linux-gnueabi.sh b/toolchains/arm-tizenmobile-linux-gnueabi.sh new file mode 100644 index 0000000..69c6457 --- /dev/null +++ b/toolchains/arm-tizenmobile-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-tizenmobile-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-tizenwearable-linux-gnueabi.sh b/toolchains/arm-tizenwearable-linux-gnueabi.sh new file mode 100644 index 0000000..b31993c --- /dev/null +++ b/toolchains/arm-tizenwearable-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-tizenwearable-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-unknown-linux-gnueabi.sh b/toolchains/arm-unknown-linux-gnueabi.sh new file mode 100644 index 0000000..6371cb2 --- /dev/null +++ b/toolchains/arm-unknown-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-unknown-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-unknown-linux-gnueabihf.sh b/toolchains/arm-unknown-linux-gnueabihf.sh new file mode 100644 index 0000000..341078e --- /dev/null +++ b/toolchains/arm-unknown-linux-gnueabihf.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-unknown-linux-gnueabihf' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/arm-unknown-linux-musleabihf.sh b/toolchains/arm-unknown-linux-musleabihf.sh new file mode 100644 index 0000000..b64bfe5 --- /dev/null +++ b/toolchains/arm-unknown-linux-musleabihf.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='arm-unknown-linux-musleabihf' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='arm' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/armv7l-unknown-linux-musleabihf.sh b/toolchains/armv7l-unknown-linux-musleabihf.sh new file mode 100644 index 0000000..3761734 --- /dev/null +++ b/toolchains/armv7l-unknown-linux-musleabihf.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='armv7l-unknown-linux-musleabihf' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='armv7l' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/hppa-unknown-linux-gnu.sh b/toolchains/hppa-unknown-linux-gnu.sh new file mode 100644 index 0000000..7bfa7df --- /dev/null +++ b/toolchains/hppa-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='hppa-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='hppa' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/hppa-unknown-netbsd.sh b/toolchains/hppa-unknown-netbsd.sh new file mode 100644 index 0000000..06c2387 --- /dev/null +++ b/toolchains/hppa-unknown-netbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='hppa-unknown-netbsd' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='hppa' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/hppa-unknown-openbsd.sh b/toolchains/hppa-unknown-openbsd.sh new file mode 100644 index 0000000..7bea2ec --- /dev/null +++ b/toolchains/hppa-unknown-openbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='hppa-unknown-openbsd' +CROSS_COMPILE_SYSTEM='openbsd' +CROSS_COMPILE_ARCHITECTURE='hppa' + +CC="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i386-tizenmobile-linux-gnueabi.sh b/toolchains/i386-tizenmobile-linux-gnueabi.sh new file mode 100644 index 0000000..53981f2 --- /dev/null +++ b/toolchains/i386-tizenmobile-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i386-tizenmobile-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='i386' + +CC="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i386-tizenwearable-linux-gnueabi.sh b/toolchains/i386-tizenwearable-linux-gnueabi.sh new file mode 100644 index 0000000..3587e19 --- /dev/null +++ b/toolchains/i386-tizenwearable-linux-gnueabi.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i386-tizenwearable-linux-gnueabi' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='i386' + +CC="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${NUL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i386-unknown-freebsd.sh b/toolchains/i386-unknown-freebsd.sh new file mode 100644 index 0000000..6bd7337 --- /dev/null +++ b/toolchains/i386-unknown-freebsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i386-unknown-freebsd12.3' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='i386' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i386-unknown-linux-gnu.sh b/toolchains/i386-unknown-linux-gnu.sh new file mode 100644 index 0000000..8ad762b --- /dev/null +++ b/toolchains/i386-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i386-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='i386' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i386-unknown-linux-musl.sh b/toolchains/i386-unknown-linux-musl.sh new file mode 100644 index 0000000..6b01cf4 --- /dev/null +++ b/toolchains/i386-unknown-linux-musl.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i386-unknown-linux-musl' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='i386' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i386-unknown-netbsdelf.sh b/toolchains/i386-unknown-netbsdelf.sh new file mode 100644 index 0000000..9baecb0 --- /dev/null +++ b/toolchains/i386-unknown-netbsdelf.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i386-unknown-netbsdelf' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='i386' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i386-unknown-openbsd.sh b/toolchains/i386-unknown-openbsd.sh new file mode 100644 index 0000000..13c18db --- /dev/null +++ b/toolchains/i386-unknown-openbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i386-unknown-openbsd' +CROSS_COMPILE_SYSTEM='openbsd' +CROSS_COMPILE_ARCHITECTURE='i386' + +CC="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/i586-unknown-haiku.sh b/toolchains/i586-unknown-haiku.sh new file mode 100644 index 0000000..1204db0 --- /dev/null +++ b/toolchains/i586-unknown-haiku.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='i586-unknown-haiku' +CROSS_COMPILE_SYSTEM='haiku' +CROSS_COMPILE_ARCHITECTURE='i586' + +CC="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/ia64-unknown-linux-gnu.sh b/toolchains/ia64-unknown-linux-gnu.sh new file mode 100644 index 0000000..501b7c5 --- /dev/null +++ b/toolchains/ia64-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='ia64-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='ia64' + +CC="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LAX_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/mips-unknown-linux-gnu.sh b/toolchains/mips-unknown-linux-gnu.sh new file mode 100644 index 0000000..456de6a --- /dev/null +++ b/toolchains/mips-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='mips-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='mips' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/mips-unknown-netbsd.sh b/toolchains/mips-unknown-netbsd.sh new file mode 100644 index 0000000..56a9a8c --- /dev/null +++ b/toolchains/mips-unknown-netbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='mips-unknown-netbsd' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='mips' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/mips64-unknown-linux-musl.sh b/toolchains/mips64-unknown-linux-musl.sh new file mode 100644 index 0000000..b6e9c24 --- /dev/null +++ b/toolchains/mips64-unknown-linux-musl.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='mips64-unknown-linux-musl' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='mips64' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/mips64el-unknown-linux-gnuabi64.sh b/toolchains/mips64el-unknown-linux-gnuabi64.sh new file mode 100644 index 0000000..ce8f02a --- /dev/null +++ b/toolchains/mips64el-unknown-linux-gnuabi64.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='mips64el-unknown-linux-gnuabi64' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='mips64el' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/mipsel-unknown-linux-gnu.sh b/toolchains/mipsel-unknown-linux-gnu.sh new file mode 100644 index 0000000..4fad900 --- /dev/null +++ b/toolchains/mipsel-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='mipsel-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='mipsel' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/powerpc-unknown-freebsd.sh b/toolchains/powerpc-unknown-freebsd.sh new file mode 100644 index 0000000..faa0ffe --- /dev/null +++ b/toolchains/powerpc-unknown-freebsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='powerpc-unknown-freebsd12.3' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='powerpc' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/powerpc-unknown-linux-gnu.sh b/toolchains/powerpc-unknown-linux-gnu.sh new file mode 100644 index 0000000..6e7fb14 --- /dev/null +++ b/toolchains/powerpc-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='powerpc-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='powerpc' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/powerpc-unknown-netbsd.sh b/toolchains/powerpc-unknown-netbsd.sh new file mode 100644 index 0000000..4bb95fa --- /dev/null +++ b/toolchains/powerpc-unknown-netbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='powerpc-unknown-netbsd' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='powerpc' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/powerpc64-unknown-freebsd.sh b/toolchains/powerpc64-unknown-freebsd.sh new file mode 100644 index 0000000..6629e4c --- /dev/null +++ b/toolchains/powerpc64-unknown-freebsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='powerpc64-unknown-freebsd12.3' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='powerpc64' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/powerpc64-unknown-freebsd_elfv2.sh b/toolchains/powerpc64-unknown-freebsd_elfv2.sh new file mode 100644 index 0000000..9dfb36a --- /dev/null +++ b/toolchains/powerpc64-unknown-freebsd_elfv2.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='powerpc64-unknown-freebsd13.0' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='powerpc64' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/powerpc64le-unknown-linux-gnu.sh b/toolchains/powerpc64le-unknown-linux-gnu.sh new file mode 100644 index 0000000..c994f97 --- /dev/null +++ b/toolchains/powerpc64le-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='powerpc64le-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='powerpc64le' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/powerpc64le-unknown-linux-musl.sh b/toolchains/powerpc64le-unknown-linux-musl.sh new file mode 100644 index 0000000..206b2d8 --- /dev/null +++ b/toolchains/powerpc64le-unknown-linux-musl.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='powerpc64le-unknown-linux-musl' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='powerpc64le' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/riscv64-unknown-freebsd.sh b/toolchains/riscv64-unknown-freebsd.sh new file mode 100644 index 0000000..c76dbd7 --- /dev/null +++ b/toolchains/riscv64-unknown-freebsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='riscv64-unknown-freebsd15.0' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='riscv64' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/riscv64-unknown-linux-musl.sh b/toolchains/riscv64-unknown-linux-musl.sh new file mode 100644 index 0000000..c8ceaf6 --- /dev/null +++ b/toolchains/riscv64-unknown-linux-musl.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='riscv64-unknown-linux-musl' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='riscv64' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/s390-unknown-linux-gnu.sh b/toolchains/s390-unknown-linux-gnu.sh new file mode 100644 index 0000000..c64af08 --- /dev/null +++ b/toolchains/s390-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='s390-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='s390' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/s390x-unknown-linux-gnu.sh b/toolchains/s390x-unknown-linux-gnu.sh new file mode 100644 index 0000000..78fdadf --- /dev/null +++ b/toolchains/s390x-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='s390x-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='s390x' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/s390x-unknown-linux-musl.sh b/toolchains/s390x-unknown-linux-musl.sh new file mode 100644 index 0000000..2d553ba --- /dev/null +++ b/toolchains/s390x-unknown-linux-musl.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='s390x-unknown-linux-musl' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='s390x' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/shle-unknown-netbsdelf.sh b/toolchains/shle-unknown-netbsdelf.sh new file mode 100644 index 0000000..d00c089 --- /dev/null +++ b/toolchains/shle-unknown-netbsdelf.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='shle-unknown-netbsdelf' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='shle' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/sparc-unknown-linux-gnu.sh b/toolchains/sparc-unknown-linux-gnu.sh new file mode 100644 index 0000000..425e698 --- /dev/null +++ b/toolchains/sparc-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='sparc-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='sparc' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/sparc-unknown-netbsdelf.sh b/toolchains/sparc-unknown-netbsdelf.sh new file mode 100644 index 0000000..7426992 --- /dev/null +++ b/toolchains/sparc-unknown-netbsdelf.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='sparc-unknown-netbsdelf' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='sparc' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/sparc64-unknown-freebsd.sh b/toolchains/sparc64-unknown-freebsd.sh new file mode 100644 index 0000000..10d8963 --- /dev/null +++ b/toolchains/sparc64-unknown-freebsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='sparc64-unknown-freebsd12.3' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='sparc64' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/sparc64-unknown-netbsd.sh b/toolchains/sparc64-unknown-netbsd.sh new file mode 100644 index 0000000..3175c31 --- /dev/null +++ b/toolchains/sparc64-unknown-netbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='sparc64-unknown-netbsd' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='sparc64' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/vax-unknown-netbsdelf.sh b/toolchains/vax-unknown-netbsdelf.sh new file mode 100644 index 0000000..4c5fad8 --- /dev/null +++ b/toolchains/vax-unknown-netbsdelf.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='vax-unknown-netbsdelf' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='vax' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-dragonfly.sh b/toolchains/x86_64-unknown-dragonfly.sh new file mode 100644 index 0000000..9c34fe4 --- /dev/null +++ b/toolchains/x86_64-unknown-dragonfly.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-dragonfly' +CROSS_COMPILE_SYSTEM='dragonfly' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${VENTI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-freebsd.sh b/toolchains/x86_64-unknown-freebsd.sh new file mode 100644 index 0000000..26a9406 --- /dev/null +++ b/toolchains/x86_64-unknown-freebsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-freebsd12.3' +CROSS_COMPILE_SYSTEM='freebsd' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${LOKI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-haiku.sh b/toolchains/x86_64-unknown-haiku.sh new file mode 100644 index 0000000..df7f83d --- /dev/null +++ b/toolchains/x86_64-unknown-haiku.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-haiku' +CROSS_COMPILE_SYSTEM='haiku' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${SIL_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-linux-gnu.sh b/toolchains/x86_64-unknown-linux-gnu.sh new file mode 100644 index 0000000..ab8eb65 --- /dev/null +++ b/toolchains/x86_64-unknown-linux-gnu.sh @@ -0,0 +1,30 @@ +#/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-linux-gnu' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${OBGGCC_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-linux-musl.sh b/toolchains/x86_64-unknown-linux-musl.sh new file mode 100644 index 0000000..9f9a4ab --- /dev/null +++ b/toolchains/x86_64-unknown-linux-musl.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-linux-musl' +CROSS_COMPILE_SYSTEM='linux' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${RAIDEN_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-netbsd.sh b/toolchains/x86_64-unknown-netbsd.sh new file mode 100644 index 0000000..1dac426 --- /dev/null +++ b/toolchains/x86_64-unknown-netbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-netbsd' +CROSS_COMPILE_SYSTEM='netbsd' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${DAKINI_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-openbsd.sh b/toolchains/x86_64-unknown-openbsd.sh new file mode 100644 index 0000000..9722654 --- /dev/null +++ b/toolchains/x86_64-unknown-openbsd.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-openbsd' +CROSS_COMPILE_SYSTEM='openbsd' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${ATAR_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF diff --git a/toolchains/x86_64-unknown-serenity.sh b/toolchains/x86_64-unknown-serenity.sh new file mode 100644 index 0000000..0fc6f99 --- /dev/null +++ b/toolchains/x86_64-unknown-serenity.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +set -eu + +CROSS_COMPILE_TRIPLET='x86_64-unknown-serenity' +CROSS_COMPILE_SYSTEM='serenityos' +CROSS_COMPILE_ARCHITECTURE='x86_64' + +CC="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-gcc" +CXX="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-g++" +AR="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ar" +AS="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-as" +LD="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ld" +NM="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-nm" +RANLIB="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-ranlib" +STRIP="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-strip" +OBJCOPY="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-objcopy" +READELF="${SENNA_HOME}/bin/${CROSS_COMPILE_TRIPLET}-readelf" + +export CROSS_COMPILE_TRIPLET \ + CC \ + CXX \ + AR \ + AS \ + LD \ + NM \ + RANLIB \ + STRIP \ + OBJCOPY \ + READELF