Hi, I have compiled the 'hardinfo' pkg in a native environment, no problem. These steps:
mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr make make install I got hardinfo from here: https://github.com/lpereira/hardinfo The problem is, when I tried to compile it in T2, got this error: [ 15%] Building C object CMakeFiles/benchmark.dir/modules/benchmark/md5.c.o /TOOLCHAIN/src.hardinfo.wary6.20141219.073702.26845.puppypc7558/hardinfo-0.5.2pre-2014/modules/benchmark/md5.c:40:2: error: #error You must compile this program without "-O". (Or else the benchmark results may be different!) #error You must compile this program without "-O". (Or else the benchmark results may be different!) ^ CMakeFiles/benchmark.dir/build.make:264: recipe for target 'CMakeFiles/benchmark.dir/modules/benchmark/md5.c.o' failed make[2]: *** [CMakeFiles/benchmark.dir/modules/benchmark/md5.c.o] Error 1 CMakeFiles/Makefile2:63: recipe for target 'CMakeFiles/benchmark.dir/all' failed make[1]: *** [CMakeFiles/benchmark.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2 It seems that T2 is putting in that "-O"? How can I tell it not to? Regards, Barry ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
