I have recently downloaded and untar new version of Rosetta - as a rosetta_src_2020.03.61102_bundle folder. When I tried to compile it via standart command "./scons.py -j6 mode=release bin" in /main/source/ directory, I got such error:
"g++: warning: switch '-ffor-scope' is no longer supported
g++ -o build/src/release/linux/5.5/64/x86/gcc/9/default/utility/string_util.os -c -std=c++0x -ffor-scope -isystem external/boost_1_55_0/ -isystem external/ -isystem external/include/ -isystem external/dbio/ -isystem external/libxml2/include -pipe -Wall -Wextra -pedantic -Wno-long-long -Wno-strict-aliasing -march=core2 -mtune=generic -O3 -ffast-math -fno-finite-math-only -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DPTR_STD -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc/9 -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux src/utility/string_util.cc
collect2: error: ld returned 1 exit status
scons: *** [build/src/release/linux/5.5/64/x86/gcc/9/default/libObjexxFCL.so] Error 1
scons: building terminated because of errors."
I have also tried to do such command "./scons.py -j6 mode=release bin gcc_ver=4.8" and got the same error.
I would like to compile Rosetta through gcc-4.8, because of newer versions of gcc-g++ aren't suitable for Rosetta compiling.
Could you tell me, how can I compile Rosetta with a help of particular gcc-version, please?
I will be sincerely grateful for your responses, and I am looking forward to it.