anyone could tell me where it is? i found “setarch” wich seems like a replacement but i 'don’t know how to use it.
Yes, setarch replaces setgcc.
There are two ways to use it:
Starts a new shell where gcc4 will be the default compiler. You can get back to normal with “exit”.
setarch x86 make
Starts the command “make” in an environment where gcc4 will be the default compiler.
You can also use the compiler directly, it’s available as “gcc-x86”.
The naming convention may look a bit strange at first. The idea is all architectures are named after the CPU (x86, x86_64, arm, …), except the legacy x86_gcc2 one.
thanks for the clarifications.