[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] "Dynamically Loading" non-entry-point code
From: |
Daniel B. Faken |
Subject: |
[Chicken-users] "Dynamically Loading" non-entry-point code |
Date: |
Mon, 14 Jun 2004 13:28:48 -0400 (EDT) |
Hi,
Is there a way to initialize scheme code compiled into a shared-library
without using entry points?
Specifically, I am already linking against another shared-library that
uses entry points, so I can't (?) define them again (unless I maybe keep
count of the index..).
I'm trying to do this to avoid having yet another shared-library that I
need to load - I currently have to link to a common C library (GLUT) AND
dynamically-load a scheme binding to that library - but it seems I should
be able to just combine them in one..
I suppose I could put a link from /usr/lib/libglut.so to
~faken/lib/chicken/lib/scm-glut-binding.so, but that seems a bit odd. Is
there a way to explicitly call the "initialization function" for a module
that is already loaded?
(even more specifically, I have a modified version of GLUT and some
functions that this modified version depends on are within my scheme code
(for the convenience of having the EasyFFI parse the functions). I wish
to allow an app that loads GLUT as a normal shared library to have access
to another, linked-in, entry-point-defining module, but also to bind
the symbols relavant for the GLUT library)
Pardon the confusion here.. I'm just a bit confused.
thanks,
Daniel Faken
- [Chicken-users] "Dynamically Loading" non-entry-point code,
Daniel B. Faken <=
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, felix, 2004/06/14
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, Daniel B. Faken, 2004/06/15
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, Felix Winkelmann, 2004/06/16
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, Daniel B. Faken, 2004/06/21
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, felix, 2004/06/21
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, Daniel B. Faken, 2004/06/21
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, Felix Winkelmann, 2004/06/22
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, Daniel B. Faken, 2004/06/22
- Re: [Chicken-users] "Dynamically Loading" non-entry-point code, Felix Winkelmann, 2004/06/23