Le 22 nov. 08 à 16:37, David Chisnall a écrit :

> On 22 Nov 2008, at 15:31, Quentin Mathé wrote:
>
>> Won't LD_LIBRARY_PATH uses in this way harcode the library path from
>> Build directory at link time unlike -rpath-link, at least on some
>> platforms?
>
> It shouldn't do.  The linker should only include the name, not the
> full path, of the library, and rely on the loader to find the correct
> version.  Currently, I don't believe we support any platforms that
> don't use the GNU loader (possibly Solaris? Not sure what happens

Darwin has a different linker too I think (because of Mach-O). Not  
sure if anybody has recently tried to compile Étoilé on it. Although  
an old version of Étoilé is available in Darwin ports: 
http://Etoile.darwinports.com/

> there...) so setting LD_LIBRARY_PATH should have the correct  
> behaviour.

ok. Before investigating the linking details further, I'll commit this  
change as is. It's probably better since the current etoile.make  
prevents the compilation on many platforms according to what was  
reported on this list.
For Solaris, well, we'll wait for feedback.

Quentin.
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à