Re: [CMake] SEGV and signal BUS with cmake-2.8.11 on Solaris 10

2013-05-22 Thread Paweł Sikora
On Wednesday 22 of May 2013 17:07:42 Bill Hoffman wrote: > On 5/22/2013 5:00 PM, Sean McBride wrote: > > memcpy(). (And compilers these days often optimize well-known functions > > like memcpy().) > > > > Cheers, > How does that change the alignment of the buffer? memcpy handles unaligned buffer

Re: [CMake] SEGV and signal BUS with cmake-2.8.11 on Solaris 10

2013-05-22 Thread Paweł Sikora
On Sunday 19 of May 2013 20:34:28 Paul Lanken wrote: > t@1 (l@1) program terminated by signal BUS (invalid address alignment) > Current function is cmSHA512_Internal_Transform > 1340 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + > (W512[j] = *data++); > (dbx) > where > curren

[CMake] the correct way of passing CCACHE_BASEDIR.

2013-02-26 Thread Paweł Sikora
Hi, i'd like to pass a CCACHE_BASEDIR enviroment variable to the cmake build system but i'm not sure how to do it correctly. google shows some old posts with CMAKE_C{XX}_OBJECT_COMPILE tricks but they don't work for me. have you any examples/ideas about passing ccache env vars? BR, Paweł. --

[CMake] how to setup cmake_c/xx_flags per toolchain?

2012-01-06 Thread Paweł Sikora
Hi, i'm trying to setup a toolchain file for cross-compilation with target specfic options and afaics cmake dosen't use flags from such file: $ cat CMakeLists.txt cmake_minimum_required( VERSION 2.8.7 ) project( test CXX ) add_executable( main main.cpp ) $ cat CMakeToolchain-x86_64-gnu-linux.tx

Re: [CMake] detecting libc version info

2010-09-01 Thread Paweł Sikora
On Wednesday 01 September 2010 18:32:11 Tim St. Clair wrote: > Phil - > > Thanks for the feedback, I was able to create a macro which uses try_run > to detect. you can also run /lib64/libc.so.6 to detect/parse glibc version info. $ /lib64/libc.so.6 GNU C Library stable release version 2.12.1

Re: [CMake] [Q] howto merge include dirs from dependencies?

2010-09-01 Thread Paweł Sikora
Dnia 01-09-2010 o 13:08:59 Michael Wild napisał(a): On 1. Sep, 2010, at 12:36 , Paweł Sikora wrote: hi, i'm thinking about migration my custom makefiles for very large project to cmake system and generally have a one problem. e.g. i have a library (mylib) and a binary (coreApp) plac

[CMake] [Q] howto merge include dirs from dependencies?

2010-09-01 Thread Paweł Sikora
hi, i'm thinking about migration my custom makefiles for very large project to cmake system and generally have a one problem. e.g. i have a library (mylib) and a binary (coreApp) placed in subdirectiories with one top-level cmakelists.txt: top-level dir: CMakeLists.txt { cmake_minimum_required