[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readline patch for 1.4.0

From: Marius Vollmer
Subject: Re: readline patch for 1.4.0
Date: 20 Sep 2000 22:27:41 +0200
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

address@hidden (Harvey J. Stein) writes:

> Marius Vollmer <address@hidden> writes:
>  > # Thus, we need a way for Fred to tell the ME package that he wants
>  > # the linker to invoked in this fashion
>  > # 
>  > #   cc -o me me.o -L/home/fred/lib -L/usr/lib -lfoo -lbar
>  > # 
>  > # because he knows that he wants the /home/fred prefix to shadow the
>  > # /usr prefix.  (On the other hand, only ME knows that it wants to
>  > # have -lfoo precede -lbar.)
> 1. This might not work depending on dependencies btw foo & bar.

Can you explain?

> 2. What about dispensing with -L & -l, using:
>       cc -o me me.o /usr/lib/foo.a /home/fred/lib.a
>    instead?  This leads to other problems - like the configuration
>    script figuring out which version & type of library to use instead
>    of of the linker, but it at least makes sure the linker does what
>    the configuration script wants.

Right, but the ickiness of having to do the unportable half of the
linker's job in the configure script does not look inviting.  Maybe
libtool could be abused...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]