flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 13:00:25 -05:00
commit b308a4c280
114 changed files with 14759 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
OS_UNAME=`uname`
if [[ "$OS_UNAME" != 'Linux' ]]; then
exit 0
fi
set -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
mkdir -p sdk/include
mkdir -p sdk/lib
LIB=libunwind
mkdir $LIB
pushd $LIB
git clone https://github.com/libunwind/libunwind --branch=v1.8.1 --depth 1
pushd libunwind
autoreconf -i
./configure --prefix=`pwd`/install --enable-static
make install
popd
popd
pushd sdk/include
rm libunwind
ln -fs ../../$LIB/libunwind/install/include libunwind
popd
pushd sdk/lib
for dir in */; do
pushd $dir
ln -s ../../../$LIB/libunwind/install/lib/*.a ./
popd
done
popd
ls -lha sdk/lib/*/libunwind*
ls -lha sdk/include/libunwind