Dynamic libraries

support for the ARM toolchain
Post Reply
ObsidianX
Posts: 4
Joined: Fri Oct 03, 2008 4:18 am

Dynamic libraries

Post by ObsidianX » Fri Oct 03, 2008 4:21 am

Hello!

I was wondering if there was any way to create and use dynamic libraries using devkitARM? Looking around the headers I notice there's no dlfnc.h header which is what's used in Linux. If there's any way for this to work or for me to create my own dynamic library loading system (long shot) I'd love to know how :)

Thanks!
-ObsidianX

WinterMute
Site Admin
Posts: 1404
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Dynamic libraries

Post by WinterMute » Thu Oct 09, 2008 2:21 pm

Which platform are you writing code for?

dynamic libraries tend not to be that useful without an OS layer and multitasking. Generally with a bare metal toolchain like devkitARM you're writing entirely self contained binaries.
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

ObsidianX
Posts: 4
Joined: Fri Oct 03, 2008 4:18 am

Re: Dynamic libraries

Post by ObsidianX » Fri Oct 10, 2008 12:52 am

I'm writing an app for the NDS and I'd like to have dynamically loadable plugins for it.

Samson
Posts: 35
Joined: Mon May 19, 2008 8:05 am

Re: Dynamic libraries

Post by Samson » Sat Oct 11, 2008 9:22 am

I guess you could try making your own, by putting a function table at the beginning of the binary and compiling as position-independent code (PIC).

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests