Hi,
On Thu, Jan 25, 2007 at 08:01:24PM +0100, Segher Boessenkool wrote:
Could we perhaps parse the output of "gcc -v" before compiling, looking for "ubuntu" or "fedora" (or whatever those fedora guys add onto the version name)? Then offer a warning that the compiler may be broken with respect to linuxbios.
It's just as easy to add the -fno-stack-protector flag if the compiler supports it.
Yes. Checking for "Fedora" or "Ubuntu" is the wrong approach. We should check whether the compiler actually supports feature xyz, not whether we're on a certain platform.
Uwe.