Bugzilla – Bug 1628
Support for dual-compiler nature of Haiku on x86
Last modified: 2012-10-24 12:59:00 UTC
Created attachment 978 [details] Modified sdl-config that handles dual-compiler setup for Haiku. Haiku tries to keep binary compatibility with BeOS. This involves building the system with gcc2 because of C++ ABI breakage. Most applications, however, need gcc4 to build properly. So Haiku has a system called hybrid builds, where both compilers are available. Each of them comes with its own set of libs. The problem is sdl-config doesn't handle that. I made a modified version of it that will use the setgcc command and use the right path for the libs in all cases. I'm not sure how to integrate this to SDL build system. The script that generates sdl-config does not look flexible enough. SDL 2.0 likely needs the same kind of fix, but I haven't looked at it yet.