On Apr 13, 2000, Kevin Atkinson <[EMAIL PROTECTED]> wrote:
>> In general, it can't be done. Sometimes libtool has to combine flags,
>> or to set environment variables, in order to link successfully.
> Could you elaborate. When shared libraries are used simply linking with
> -lpspell should work as all the dependences will automatically be tracked
> down provided that the system supports interlibrary dependencies.
Not on all systems.
> If static libraries are used ALL required libraries must be specified on
> the command line. That is what my script will be for.
> What else must be done?
There's the issue of merging -R/-rpath flags, if needed, or setting an
environment variable with them, since on some systems there's no
-R/-rpath flag. More details (lots of them! :-) in the archives.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me