This is the mail archive of the guile@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: readline patch for 1.4.0


hjstein@bfr.co.il (Harvey J. Stein) writes:

> Marius Vollmer <mvo@zagadka.ping.de> 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...
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]