From: Denny Lin on
Hi, I saw this warning about devel/ccache a while ago:
Any time you change CC/CXX you need to reinstall devel/libtool15 or you
will run in to problems.

This was added a long time ago, so I'm wondering if this is still
necessary (should be devel/libtool22 now).

--
Denny Lin
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On 06/04/10 22:24, Denny Lin wrote:
> Hi, I saw this warning about devel/ccache a while ago:
> Any time you change CC/CXX you need to reinstall devel/libtool15 or you
> will run in to problems.
>
> This was added a long time ago, so I'm wondering if this is still
> necessary (should be devel/libtool22 now).

If that's true it should be added to
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/index.html.
Can anyone comment authoritatively?


Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Dominic Fandrey on
On 05/06/2010 22:49, Doug Barton wrote:
> On 06/04/10 22:24, Denny Lin wrote:
>> Hi, I saw this warning about devel/ccache a while ago:
>> Any time you change CC/CXX you need to reinstall devel/libtool15 or you
>> will run in to problems.
>>
>> This was added a long time ago, so I'm wondering if this is still
>> necessary (should be devel/libtool22 now).
>
> If that's true it should be added to
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/index.html.
> Can anyone comment authoritatively?

I've been using ccache for years without bothering about this.

The only problems are caused by ports that cannot deal with spaces
in CC/CXX (~2% of my installed ports).

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "b. f." on
>On 06/04/10 22:24, Denny Lin wrote:
>> Hi, I saw this warning about devel/ccache a while ago:
>> Any time you change CC/CXX you need to reinstall devel/libtool15 or you
>> will run in to problems.
>>
>> This was added a long time ago, so I'm wondering if this is still
>> necessary (should be devel/libtool22 now).
>
>If that's true it should be added to
>http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/index.html.
>Can anyone comment authoritatively?

If you look at the output of 'libtool --config', you will see that
libtool sets default values for the compiler, toolchain, various
flags, and library search directories, that can change depending upon
what compiler and tool-chain are used to build libtool. Depending
upon how libtool is called, it may fall back upon default values, or
override some of them. Since not all ports call libtool in a clean
and uniform way, it may be better to have a different copy of libtool
for each compiler and tool-chain that you intend to use, that has been
configured and built with that compiler and tool-chain, and then to
use that version of libtool for ports built with that compiler and
tool-chain, by altering the definition of some of the libtool-related
variables in ports/Mk/bsd.autotools.mk to depend conditionally upon
CC.

This is one of the components of the port system that is ill-suited in
it's current configuration for using different compilers and
toolchains. There are others: qmake4, cmake, etc. -- unfortunately, a
lot of ports depend upon these.

b.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"