Paladin of the Pegasos
Posts: 1113 from 2013/5/24
From: Nederland
Quote:
Henes wrote:
Two more points:
1. to compile a SDL source, the usage it to put `sdl-config --cflags` on the gcc commande line. This will add the -noixemul switch and the right include path. And use `sdl-config --libs` to link.
2. -noixemul should pretty much be used for... everything. As soon as you make something doing any non-ixemul library call, use -noixemul. Always. An OpenGL call? An exec.library call? A z.library call? Anything not being part of ixemul's libc API? Use -noixemul.
Thanks for the tips Henes.
I generally use -noixemul but I left it off the command line by accident and spent the next half an hour convinced I was going mad. :)
Will make sure to use sdl-config in future.
1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15
2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9