View Single Post
Old 02 February 2018, 11:56   #44
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
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 :
...
Attached Files
File Type: zip snes9x-sdl.zip (39.1 KB, 95 views)

Last edited by emufan; 02 February 2018 at 12:58.
emufan is offline  
 
Page generated in 0.04454 seconds with 12 queries