[CMake] Nonstandard architectures.

Mathias Froehlich M.Froehlich at science-computing.de
Fri Sep 28 02:00:37 EDT 2007


Hi,

On Thursday 27 September 2007 16:31, Bill Hoffman wrote:
> > I think there's a way to tell CMake to either use lib or lib64,
> > something like LIB_SUFFIX.
>
> CMake does a test for sizeof void* if it is 8 bytes then lib64 is
> searched before lib in all FIND_* stuff.
That is way too croase and will even bring the wrong results.

- On sparc solaris 64 bit libs are in */lib/64/ or */lib/sparcv9/. Currently 
this is the only 64 bit abi on sparc. Don't currently know solaris amd64 ...
- On hpux see the post with the different libc examples we have on the pa risc 
machine - note even different 32 bit abis. The itanium verison add some more 
abis. Even different 64 bit abis. All of them in some subdirs in lib ...

Also still looking in the plain */lib/ path might test for the wrong libs.
The original problem is basically that cmake believes to have some packages 
availabe because of having libraries for the abi resident in */lib/ that are 
not available for the abi we compile for. So picking up some files in */lib/ 
might be just wrong for some cases.

To be curious: Does somebody have some experience with win64 in this area?
What kind of problems will come up here?

Greetings

       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