|
From: | Paul Kienzle |
Subject: | Re: dynamic loading in static exe |
Date: | Mon, 27 Jan 2003 07:46:22 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.3a) Gecko/20021212 |
Mumit Khan wrote:
I haven't tried. Maybe "./configure --disable-shared --enable-dl " will do it.On Thu, 23 Jan 2003, Paul Kienzle wrote:The question is, do we want to support it? Is there any advantage to static linking under Windows, other than fewer files to work with?Doesn't Octave already support it? At least on most Unix'y platforms, it uses -rdynamic, the portable name for which is -E or --export-dynamic, and does what you expect.
I don't think there's much advantage in Octave as the loadable modules use symbols out of liboctave, libcruft and not really from Octave executable itself. One reason that the .oct files are so big under Windows is due to the lack of shared libstdc++, which is always linked in each .oct file.
Is there any reason not to make a shared version of libstdc++? I see thatthe symbols are available in the .a file [of course!] --- I will try today to create
the dll with dlltool. Paul Kienzle address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |