KDE/kdelibs/cmake/modules

David Faure faure at kde.org
Thu Dec 21 14:46:52 CET 2006


On Thursday 21 December 2006 14:34, Matthias Kretz wrote:
> On Thursday 21 December 2006 14:05, David Faure wrote:
> > On Wednesday 20 December 2006 23:00, Dirk Mueller wrote:
> > > string(LENGTH 
> _GCC_COMPILED_WITH_BAD_ALLOCATOR "${_GCC_COMPILED_WITH_BAD_ALLOCATOR}")
> >
> > This is the line that messes up everything and leads to every binary
> > starting with "32" in its name. While this does sound very much like a
> > cmake bug, what was that line trying to achieve anyway?
> 
> Well, the length of the string "_GCC_COMPILED_WITH_BAD_ALLOCATOR" is 32. 
Yes.

> Probably not a cmake bug...
I disagree. *EVERY* binary ends up with 32 prepended to its name, which is certainly
not what this code is trying to do ;)

I guess this line unintentionnally modifies something internal to cmake, like the empty string or something.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list