Install script generated for powerpc64-linux uname -a output: Linux cfarm203 6.0.0-6-powerpc64 #1 SMP Debian 6.0.12-1 (2022-12-09) ppc64 GNU/Linux git status -uno: On branch release_3_2_4-branch Your branch is up to date with 'origin/release_3_2_4-branch'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: fpcsrc (new commits) modified: install/makepack no changes added to commit (use "git add" and/or "git commit -a") git diff: diff --git a/fpcsrc b/fpcsrc index ae0f84f..d78e289 160000 --- a/fpcsrc +++ b/fpcsrc @@ -1 +1 @@ -Subproject commit ae0f84fdd59477abda85687bbdb1f164e16e9a22 +Subproject commit d78e2897014a69f56a1cfb53c75335c4cc37ba0e diff --git a/install/makepack b/install/makepack index ec5810b..e6fe7c5 100755 --- a/install/makepack +++ b/install/makepack @@ -222,7 +222,11 @@ if [[ ( "$FULLSOURCE" == "powerpc-linux" ) && ( -z "$CROSS" ) ]]; then export TEST_BINUTILSPREFIX=powerpc-linux- export BINUTILSPREFIX=powerpc-linux- GCC_EXTRA_OPTS="$GCC_EXTRA_OPTS -m32" - export EXTRAOPT="${EXTRAOPT} -Xd -Fl/usr/lib -Fl/lib -Fd" + if [ -d "/usr/lib32" ] ; then + export EXTRAOPT="${EXTRAOPT} -Xd -Fl/usr/lib32 -Fl/lib32 -Fd" + else + export EXTRAOPT="${EXTRAOPT} -Xd -Fl/usr/lib -Fl/lib -Fd" + fi export FPMAKE_SKIP_CONFIG="-n -XPpowerpc-linux-" fi fpcsrc git status -uno: On branch release_3_2_4-branch Your branch is up to date with 'origin/release_3_2_4-branch'. nothing to commit (use -u to show untracked files) fpcsrc git diff: fpcdocs git status -uno: On branch release_3_2_4-branch Your branch is up to date with 'origin/release_3_2_4-branch'. nothing to commit (use -u to show untracked files) fpcdocs git diff: