fs-uae
fs-uae copied to clipboard
Cross compilation support
gen/ makes cross compiling fs-uae awkward, it's possible but requires steps along the lines of
if [ "$CROSS_BUILD" ]; then
post_configure() {
make $makejobs \
CC=$CC_FOR_BUILD CFLAGS=$CFLAGS_FOR_BUILD \
CXX=$CXX_FOR_BUILD CXXFLAGS=$CXXFLAGS_FOR_BUILD \
LIBS= GLIB_LIBS= LIBMPEG2_LIBS= OPENAL_LIBS= \
OPENGL_LIBS= PNG_LIBS= SDL2_LIBS= X11_LIBS= ZLIB_LIBS= \
gen/blit.h gen/blitfunc.cpp gen/blitfunc.h gen/blittable.cpp \
gen/compemu.cpp gen/cpudefs.cpp gen/cpuemu_0.cpp \
gen/linetoscr.cpp
rm src/readcpu.o gen/cpudefs.o
make $makejobs src/readcpu.o gen/cpudefs.o
touch gen/*
}
fi
Ideally the build system would support building genlinetoscr, gencpu, etc. with a different compiler.
Ideally, yes, but I don't know of any easy way to do this with autoconf/automake.