Skip to content

Is dynamic library loading supported? #262

Answered by autc04
IoIxD asked this question in Q&A
Discussion options

You must be logged in to vote

For PowerPC, the linker supports shared libraries in XCOFF format. The actual Mac OS dynamic library format is PEF, and you can use the MakePEF and MakeImport tools to convert (MakePEF for XCOFF -> PEF, and MakeImport for PEF -> XCOFF stub library).

Following the tradition from AIX (which Apple based their PowerPC support on originally), both static and dynamic libraries are often stored in .a files. In fact, all the operating system functions are accessed via shared libraries (such as InterfaceLib, converted to libInterfaceLib.a by the MakeImport tool).

On 68K, Retro68 currently has no support for Shared Libraries.
Apple introduced support twice, once via the 'Apple Shared Library Manage…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by IoIxD
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants