[Vm-dev] benchmarking and recent results

stephane ducasse stephane.ducasse at gmail.com
Sat Oct 5 14:08:11 UTC 2013


igor got smahed by a flu over the last two weeks.
Going back to life slowly.

On Oct 5, 2013, at 12:31 PM, Tobias Pape <Das.Linux at gmx.de> wrote:

> Am 05.10.2013 um 11:48 schrieb Göran Krampe <goran at krampe.se>:
> 
>> Hey!
>> […]
>> PPS. Also tried using GCC 4.8.1 and 4.9, but then the compiled VM throws "Bus error: 10" at me. Note that it compiles using the switches for clang then... (Esteban and Igor - we need a nice way of switching compiler in CMakeVMMaker!)
> 
> 
> You typically do that with the CMake invocation yourself like in:
> 
> CC="clang -m32" CXX="clang++ -m32" cmake $SRCDIR
> cmake --build $BUILDDIR
> 
> or 
> CC="gcc-4.9 -m32" CXX="g++-4.9 -m32" cmake $SRCDIR
> cmake --build $BUILDDIR
> 
> 
> CMake then does compiler detection and should detect 
> Clang/GCC and act accordingly. However, if there are special
> switches for either compiler, they should be in  some CMake file
> and hence be generate by CMakeVMMaker…
> 
> See https://github.com/krono/self/blob/cmake/vm/cmake/platform.cmake#L65
> for an example how to react to a found compiler (for example, i then used
> the platform_compiler variable to select files, but it's up to you)
> 
> Best
> 	-Tobias
> 



More information about the Vm-dev mailing list