Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
50 user(s) are online (30 user(s) are browsing Forums)

Members: 0
Guests: 50

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by Raziel on 2019/2/27 7:37:10

@Capehill

Yes, i did a reconfigure. It always picked up SDL2, no matter what i tried and ended up with changing a line in configure so it finally used SDL1, but i guess that isn't enough.

I added this line temporarily:
add_line_to_config_mk "USE_SDL2 = 0"

to configure after line 2478

amigaos*)
        
append_var LDFLAGS "-Wl,--export-dynamic"
        
append_var LDFLAGS "-L/sdk/local/newlib/lib"
        
# We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32
        # as (unsigned) long, and consequently we'd get a compiler error otherwise.
        
type_4_byte='long'
        
# Supress format warnings as the long 4 byte causes noisy warnings.
        
append_var CXXFLAGS "-Wno-format"
--> here
        add_line_to_config_mk 
'AMIGAOS = 1'
        
_port_mk="backends/platform/sdl/amigaos/amigaos.mk"
        
;;

Which makes configure use (or at least it says so) SDL1.2.13, but maybe i have to change something else at another place as well?
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project