Re: [hatari-devel] Hatari moves to a new home

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Sat, Feb 22, 2025 at 10:20 AM Thomas Huth <th.huth@xxxxxxxxx> wrote:
> What do you think?
>

Sure!

This is how I build CapsLib:
#
#
#CapsImage
#
### MUST FIX INCLUDE DIRECTORY
cd ${OBJDIR} && \
git clone https://github.com/FrodeSolheim/capsimg.git --depth=1 && cd
capsimg && \
../bootstrap && \
../configure --host=${TARGET} && \
sed -i 's/\-g /-pipe /' CAPSImg/Makefile && \
make -C CAPSImg -j$(nproc) &&
find . -name '*.dll' | cut -f 1 -d : | xargs ${TARGET}-strip -s && \
find . -name '*.a' | xargs ${TARGET}-strip -g && \
cp CAPSImg/capsimg.dll* ${PREFIX}/lib && \
mkdir -p ${PREFIX}/include/caps && \
cp LibIPF/* Core/CommonTypes.h ${PREFIX}/include/caps

IMPORTANT!!!!!
edit ${PREFIX}/include/caps/CommonTypes.h
Remove all lines between the two: // Linux change //


#Capsimg32
git clean -fdx && \
../bootstrap && \
../configure --host=${TARGET} CFLAGS="-O2 -m32" LDFLAGS="-m32 -Wl,-mi386pe" && \
make -C CAPSImg -j$(nproc) && \
find . -name '*.dll' | cut -f 1 -d : | xargs ${TARGET}-strip -s && \
find . -name '*.a' | xargs ${TARGET}-strip -g && \
cp CAPSImg/capsimg.dll* ${PREFIX}/lib32

There's probably a better way of doing the edit than doing it
manually, but I don't rebuild the toolchain that often so I don't
really care /that/ much.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/