I have compiled chui's SDL and the directories are now in ${KOS_BASE}/../kos-ports/.
All the includes are also in my environ.sh :
Code: Select all
export KOS_INC_PATHS="-I${KOS_BASE}/../kos-ports/include -I${KOS_BASE}/../../sh-elf/sh-elf/include -I${KOS_BASE}/include -I${KOS_BASE}/kernel/arch/dreamcast/include -I${KOS_BASE}/include -I${KOS_BASE}/addons/include -I${KOS_BASE}/../kos-ports/include/zlib-1.2.3 -I${KOS_BASE}/../kos-ports/include/libpng-1.2.8 -I${KOS_BASE}/../kos-ports/SDL-1.2.9/include -I${KOS_BASE}/../kos-ports/SDL_mixer-1.2.6/mikmod -I${KOS_BASE}/../kos-ports/SDL_mixer-1.2.6 -I${KOS_BASE}/../kos-ports/SDL_image-1.2.4 -I${KOS_BASE}/../kos-ports/zlib-1.2.3 -I${KOS_BASE}/../kos-ports/include/modplug"
Code: Select all
...
/tinyxml.o src/bulletml/tinyxml/tinyxmlerror.o src/bulletml/tinyxml/tinyxmlparser.o romdisk.o -lpng -lz -lSDL_mixer -lSDL_image -lSDL -lm -lstdc++ -Wl,--start-group -lkallisti -lc -lgcc -Wl,--end-group
/usr/local/dc/sh-elf/lib/gcc/sh-elf/3.4.4/../../../../sh-elf/bin/ld: cannot find -lSDL_mixer
collect2: ld returned 1 exit status
make: *** [noiz2sa.elf] Error 1
Code: Select all
export KOS_LDFLAGS="${KOS_LDFLAGS} ${KOS_INC_PATHS} -ml -m4-single-only -Wl,-Ttext=0x8c010000"
thanks