Archived

This topic is now archived and is closed to further replies.

idinkin

DLL in Linux

Recommended Posts

Yes, you have to compile your code for Linux. Try gcc. You''ll probably have to make changes to your code if you didn''t write it in a cross-platform manner, (if you used Microsoft MFC classes like CString, for example). You can''t compile on Windows or Mac and run on Linux, if that''s what you''re asking.

Share this post


Link to post
Share on other sites
But what do you mean your "engine is a DLL" and you use SDL? Do you mean you are using sdl.dll? Or you yourself have written a DLL that is a part of your game?

If you''ve used SDL and your program is generally cross platform friendly, then you can use the Linux version of SDL under Linux. Did you follow SDL''s guidelines for keeping your SDL app portable? Of course you still need to recompile your own code, but the SDL end of it should be ok.

Share this post


Link to post
Share on other sites