[CMake] Nonstandard architectures.
Mathias Froehlich
M.Froehlich at science-computing.de
Fri Sep 28 01:47:50 EDT 2007
Hi,
On Thursday 27 September 2007 15:53, Andreas Pakulat wrote:
> Just to state the obvious: Thats backwards compared to what distro's
> have these days. */lib is always the native libs and then you have
> either lib64 or lib32 (at least AFAIK, don't have any 64-bit system)
No.
On a redhat or suse linux - probably that Linux distros with most
installations on this blue marble - 32 bit i386 libs are in 'lib' and emt64
libs in 'lib64'.
Well debian does it 'right' from that point of view, but ....
> > But cmake looks in */lib
> > directories where some x86 libs are present that are not present for the
> > x86-64 case.
> > The question here is even worse - which one is the native one?? lib or
> > lib64?? And which ones should cmake accept?
>
> I think there's a way to tell CMake to either use lib or lib64,
> something like LIB_SUFFIX.
I could not find such a thing.
Can you give me a more concrete hint?
But yes, for most of the platforms (I believe AIX will still fall through),
such a path suffix that can be globally configurable would help much.
Ok, the problem with AIX: They have archive files that can even einclude
object or shared object files for different abis. The linker cares for
selecting the correct ones. At least we observed that with some libraries ...
Strange, but the real existing world ...
Greertings
Mathias
--
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
More information about the CMake
mailing list