View previous topic :: View next topic |
Author |
Message |
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Tue Jul 12, 2011 8:53 am Post subject: Derelict and --export-dynamic |
|
|
Since --export-dynamic was added to dmd.ini on Linux, it has been causing problems with some executables that link with Derelict libs. Thanks to a comment on one of my blogs, I now understand the issue and how to solve it. As such, I'm going to be gradually updating each Derelict package with the fix.
I would write a tool to do it for me, but I really suck at text-processing and it would probably take me longer to write the script than to do it manually. Anyway, I've already updated DerelictAL and it wasn't too terribly time-consuming. More to come in the days ahead.
Also, I've figured out what I need to do to make the loaders work properly across multiple threads in D2, so once I finish with the --export-dynamic fix, I'll add that in as well. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Wed Aug 03, 2011 7:25 am Post subject: |
|
|
After applying the fix to a couple of packages manually, I said to hell with it and knocked up a script to handle it for me. It wasn't too bad. After that, it all went rather quickly. To the best of my knowledge, I have converted everything that needs to be converted. I haven't done anything to the OpenGL extension declarations, but I don't believe they need any fixing up.
Also, I applied the same fix to the functions in DerelictGL's wgl.d. This isn't for the --export-dynamic problem, but for a similar issue in that the Win32 functions declared there can still cause conflicts when using other Win32 bindings in the same app. This fix should solve that. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|