[CMake] cmake hp-ux binary creates .sl libraries rather than .so libraries.

Alexander Neundorf a.neundorf-work at gmx.net
Tue Apr 28 14:11:35 EDT 2009


On Tuesday 28 April 2009, Denis Scherbakov wrote:
> > The change will have to go in Modules/Platform/HP-UX.cmake.
> >   I think we should be able to check the
> > CMAKE_HOST_SYSTEM_PROCESSOR variable.
>
> Is there a tool I can run to tell you exactly, how processor names shuld
> look like? Is it "file" or something else?

Usually uname can report this, uname -m here on Linux.

> > If someone has
> > access to one of these machines and can work out a patch, I
> > can put it in CMake.  Even better, if someone has access to
> > one of these machines, and can setup a nightly dashboard to
> > make sure it stays working.
>
> I am currently working on a GNU Linker that will run on Linux and produce
> IA64 HP-UX binaries. A GNU Linker for PA-RISC2.0 HP-UX is alredy finished
> by someone else.

You are building HP-UX binaries on a Linux machine ?
This would be really cross compiling.
Otherwise I guess a check which linker is used can be written and settings be 
adapted accordingly.

Alex


More information about the CMake mailing list