I was starting in the sdl folder, so copy my files in snes9x/sdl/
I had the same issue with configure, complains about "cross compiling, cannot do that" or sort of.
I did "fixed" the lines in configure, so it did continue. at the end I had to edit
CCFLAGS and CCC, CC variables in the Makefile.
try the configure, maybe it does work for you too.
#1) i was using gcc 3.4 (AmiDevCPP) , no need to edit a single line in the source files.
here the basic things I changed in the configure - required multiple times:
Code:
...
- as_fn_error $? "SDL is required." "$LINENO" 5
+ S9XFLGS="$S9XFLGS `sdl-config --cflags`"
+ S9XLIBS="$S9XLIBS `sdl-config --libs`"
...
- if test "$cross_compiling" = yes; then :
+ if test "$cross_compiling" = no; then :
...