Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSX] SDL is weird in universal binaries #18

Closed
DorpsGek opened this issue Dec 5, 2005 · 1 comment
Closed

[OSX] SDL is weird in universal binaries #18

DorpsGek opened this issue Dec 5, 2005 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Dec 5, 2005

Bjarni opened the ticket and wrote:

for PPC we need to support all the way back to OSX 10.2 if possible, so dynamic linking is out of the question (they don't like opening libs in non-standard locations)
OpenTTD can't link statically to anything newer than SDL 1.2.7
I can't crosscompile SDL 1.2.7 for x86 OSX, but 1.2.9 can compile, so x86 needs to be dynamically linked to SDL. Luckily x86 is at least OSX 10.4 (developer edition, that is not for public release) or 10.5 (public release), so adding a dynamic lib to the release is possible

The result of this is that the universal binaries have to be static linked PPC code and static linked x86 code except for SDL, which will then be dynamically linked. This is NOT nice, so we better get rid of SDL. Specially since it causes so many issues, not just this one

Reported version: trunk
Operating system: Mac OS X


This issue was imported from FlySpray: https://bugs.openttd.org/task/18
@DorpsGek
Copy link
Member Author

Bjarni closed the ticket.

Reason for closing: Fixed

well, you don't have to use SDL anymore. Use cocoa drivers instead


This comment was imported from FlySpray: https://bugs.openttd.org/task/18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant