stefanos1316 / Rosetta_Code_Research_MSR

Exploiting Programming Languages Energy Consumption
4 stars 2 forks source link

Compiling Issues #1

Open stefanos1316 opened 6 years ago

stefanos1316 commented 6 years ago

Some of the programming languages require special libraries in order to compile, therefore, it is necessary to add this knowledge in the script.compileTasks file to release users from this burden.

Add for: +Concurrent computing

C compilation: $gcc -std=c99 -fopenmp -o ...

  #C++ comiplation: $g++ -std=c++11 -D_GLIBCXX_USE_NANOSLEEP -lpthread -o ...
  #Php requires zts-php command to interpret the concurrent-computing script 
stefanos1316 commented 6 years ago

For task percentage-difference-between-images compile as follows:

mcs -pkg:gtk-sharp-2.0 -r:System.Drawing percentage-difference-between-images.cs