[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linking .oct files to shared library
From: |
E. Joshua Rigler |
Subject: |
linking .oct files to shared library |
Date: |
Mon, 06 Aug 2001 12:07:35 -0600 |
I just realized that when I link to an external library that _does_ have
a shared version, mkoctfile is not linking to the shared version, but
rather the static version. Obviously this is creating a terribly
bloated executable for Octave to use.
I tested this by putting the "-static" in the linking lines at the end
of the mkoctfile script. This, if I understand GCC/G++ correctly,
should force the linker to use the static library. My resulting
executable is exactly the same size as it is when using the default
mkoctfile.
How do I force mkoctfile, or g++, to use the shared version of the
librar[y|ies]?
-EJR
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- linking .oct files to shared library,
E. Joshua Rigler <=