diff --git a/configure.sh b/configure.sh index d6c780c..027b21d 100755 --- a/configure.sh +++ b/configure.sh @@ -40,10 +40,10 @@ PREFIX="$(pwd)" # Symlink as, ld, ar and ranlib, which gcc will not find by itself (we renamed # them from sh3eb-elf-* to sh-elf-* with --program-prefix). mkdir -p sh3eb-elf/bin -ln -s $(command -v sh-elf-as) sh3eb-elf/bin/as -ln -s $(command -v sh-elf-ld) sh3eb-elf/bin/ld -ln -s $(command -v sh-elf-ar) sh3eb-elf/bin/ar -ln -s $(command -v sh-elf-ranlib) sh3eb-elf/bin/ranlib +ln -sf $(command -v sh-elf-as) sh3eb-elf/bin/as +ln -sf $(command -v sh-elf-ld) sh3eb-elf/bin/ld +ln -sf $(command -v sh-elf-ar) sh3eb-elf/bin/ar +ln -sf $(command -v sh-elf-ranlib) sh3eb-elf/bin/ranlib cd build diff --git a/install.sh b/install.sh index 30b5c97..5b89e3d 100755 --- a/install.sh +++ b/install.sh @@ -12,7 +12,7 @@ cd .. # Symbolic link executables to $PREFIX/bin echo "$TAG Symlinking binaries..." for x in bin/*; do - ln -s "$(pwd)/$x" "$PREFIX/$x" + ln -sf "$(pwd)/$x" "$PREFIX/$x" done # Cleanup build files