Page 1 of 1

Dynamic libraries

Posted: Fri Oct 03, 2008 4:21 am
by ObsidianX
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

Re: Dynamic libraries

Posted: Thu Oct 09, 2008 2:21 pm
by WinterMute
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.

Re: Dynamic libraries

Posted: Fri Oct 10, 2008 12:52 am
by ObsidianX
I'm writing an app for the NDS and I'd like to have dynamically loadable plugins for it.

Re: Dynamic libraries

Posted: Sat Oct 11, 2008 9:22 am
by Samson
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).