Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
105 user(s) are online (89 user(s) are browsing Forums)

Members: 0
Guests: 105

more...

Headlines

Report message:*
 

Re: SDL2

Subject: Re: SDL2
by kas1e on 2021/1/30 16:35:38

@Capehill
Is it now doesn't matter if i use Makefile.amigaos4 with SDL2 or just my usuall:

Quote:

./configure --build=x86_64 --host=ppc-amigaos --target=ppc-amigaos --disable-altivec


?

Anyway, i just grab latest sdl2 code, and tried it like this:

Quote:

./configure --build=x86_64 --host=ppc-amigaos --target=ppc-amigaos --disable-altivec CFLAGS="-mcrt=clib2"


And then:

/amiga/SDL2_30_01_2021/src/file/SDL_rwops.c:393:36error'FILE' {aka 'struct <anonymous>'has no member named '_flags'did you mean 'flags'?
     if ((
context->hidden.stdio.fp->_flags __SL64) == 0) {
                                    ^~~~~~
                                    
flags
/amiga/SDL2_30_01_2021/src/file/SDL_rwops.c:393:45error'__SL64' undeclared (first use in this function)
     if ((
context->hidden.stdio.fp->_flags __SL64) == 0) {


configuring that without -mcrt=clib2, then everything builds fine for newlib.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project