Changeset 16557 in niluje


Ignore:
Timestamp:
Oct 9, 2019, 12:23:44 AM (10 days ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC: Reorder that
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r16556 r16557  
    848848                # NOTE: Swap between compiler-rt and libgcc
    849849                #       c.f., x-clang-compiler-rt.sh to build compiler-rt in the first place ;).
    850                 # NOTE: c.f., https://archive.fosdem.org/2018/schedule/event/crosscompile/attachments/slides/2107/export/events/attachments/crosscompile/slides/2107/How_to_cross_compile_with_LLVM_based_tools.pdf for a good recap.
    851850                # NOTE: Don't run it blindly, though, as it's experimental, tailored to Gentoo, and (minimally) affects the host's rootfs!
    852851                # NOTE: For C++, the general idea would be the same to swap to libunwind/libc++ via --stdlib=libc++ instead of libgcc_s/libstdc++ ;).
     852                # NOTE: c.f., https://archive.fosdem.org/2018/schedule/event/crosscompile/attachments/slides/2107/export/events/attachments/crosscompile/slides/2107/How_to_cross_compile_with_LLVM_based_tools.pdf for a good recap.
    853853                if [[ "${3}" == "clang-gcc" ]] ; then
    854854                        export CFLAGS="--target=${CROSS_TC} --sysroot=$(${CROSS_TC}-gcc -print-sysroot) --gcc-toolchain=${HOME}/x-tools/${CROSS_TC} ${RICE_CFLAGS}"
Note: See TracChangeset for help on using the changeset viewer.