On Wed, Mar 25, 2009 at 7:48 AM, Alan Coopersmith
<[email protected]> wrote:
> Dan Nicholson wrote:
>>> +           # If using Sun C++ compiler, need to tell it not to add runpaths
>>> +           # that are specific to the build machine
>>> +           if [ ${LINK} = "CC" ] ; then
>>> +               OPTS="${OPTS} -norunpath"
>>> +           fi
>>
>> It doesn't really apply to me, but I wouldn't want my runpath settings
>> to be silently ignored if I was building mesa on solaris. You could
>> always add them to LDFLAGS for your nevada builds. That should be
>> respected throughout the build. Not a big deal, though.
>
> The Sun CC -norunpath flag doesn't ignore your runpath settings - it tells
> the compiler to not insert its additional runpath in front of the system
> runpath, so you don't build binaries that contain /opt/SUNWspro/lib/cc7
> to find the compiler's copy of the standard C++ library instead of the OS
> copy in /usr/lib.    Any -R flags are still honored, whether they came
> from configure or Makefiles.

Ah, thanks for the explanation.

--
Dan

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to