From 5e6cc6530b59de230536e9388f45852477546a1a Mon Sep 17 00:00:00 2001 From: starg2 <75976488+starg2@users.noreply.github.com> Date: Sat, 23 Nov 2024 11:15:38 +0900 Subject: [PATCH] Add cc.exe --- scripts/gcc-post.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/gcc-post.sh b/scripts/gcc-post.sh index 362ac83e..9671eca1 100644 --- a/scripts/gcc-post.sh +++ b/scripts/gcc-post.sh @@ -61,6 +61,10 @@ function gcc_post_install { local _gcc_version=$(func_map_gcc_name_to_gcc_version $_GCC_NAME) local _reverse_bits=$(func_get_reverse_arch_bit $BUILD_ARCHITECTURE) + + # cc.exe + cp -f $PREFIX/bin/gcc.exe $PREFIX/bin/cc.exe + # libgcc_s.a cp -f $PREFIX/lib/gcc/$TARGET/lib/libgcc_s.a $PREFIX/$TARGET/lib/ \ || die "Cannot copy libgcc_s.a to $PREFIX/$TARGET/lib"