[prev in list] [next in list] [prev in thread] [next in thread]
List: apr-dev
Subject: Re: Patch for checking expat on Solaris
From: Henry Jen <henryjen () ztune ! net>
Date: 2006-04-30 22:44:14
Message-ID: 44553DBE.2080501 () ztune ! net
[Download RAW message or body]
William A. Rowe, Jr. wrote:
> Henry Jen wrote:
>> > -L and -R should be redundant, no?
>>
>> No, they are not. -L is for link time, -R for runtime. For the
>> default
>> linker on Solaris, the -R is taking the value from -L as gnu ld.
>>
>> I meant to say Solaris default linker does not behave the same as GNU ld.
>> -R is recommended practice on Solaris. crle or LD_LIBRARY_PATH can do
>> the trick, but those practice are discouraged.
>
> The issue I have is that your -enforcing- -R destroys my -portability-. We
> need to find a happy comprimize to build to a manditory -prefix versus the
> usual -prefix, yet relocatable (with LD_LIBRARY_PATH).
>
>
>
Hmm, I am curious what portability is destroyed. :-)
I mean, based on my limited platform experience, gcc supports -R and
Windows is not using autotools, right? And if you built with the -L
path, isn't it should be the same for -R?
I can work around this by using LDFLAGS but that may not be as precise
as this.
Any other suggestions?
Cheers,
Henry
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic