Hi!
>>>>> "Sasha" == Sasha Pachev <sasha@stripped> writes:
>> alpha_cflags="-mcpu=ev6 -Wa,-mev6" # Not used yet
>> -pentium_cflags="-mpentiumpro"
>> +pentium_cflags="-mcpu=pentiumpro"
>> sparc_cflags=""
Sasha> The above needs to be removed altogether from compile-pentium and from the
Sasha> RPM build. The problem is that this might make our binary hit illegal
Sasha> instructions on older machines.
No, this is not a problem.
-mcpu means that the program is optimized for pentiumpro, it will
still work on other CPU:s !
You are confuing this with -march=pentiumpro, which will not work with
older cpu:s.
>>
>> # be as fast as we can be without losing our ability to backtrace
>> @@ -64,4 +64,11 @@
>> make=gmake
>> else
>> make=make
>> +fi
>> +
>> +if gcc -v 2>&1 | grep 'version 3' > /dev/null 2>&1
>> +then
>> + CXX=c++
>> +else
>> + CXX=gcc
>> fi
Sasha> Monty - can you comment on the above? Why can't we do CXX=gcc with gcc 3 ?
It doesn't work. (Error when linking)
gcc 3.0 requires on to compile C++ programs with c++, not gcc.
Regards,
Monty