"H.J. Lu" wrote: > For Linux/x86, if gcc is configured for xxx-*-linux, the default arch should > be xxx for both 32bit and 64bit, where xxx can be i[3456]86, pentium, ... > x86-64. Is someone working on such a patch?
IMHO making this Linux specific just replaces one confusing and arbitrary decision with another. Why should --target=i686-*-linux imply -march=686 when, say, --target=i686-*-freebsd or --target=i686-*-elf still implies -march=386? If you want to imply a default -march from the target specification (and I think that's a perfectly good thing to want to do) then it should apply to all x86 targets equally. If that's too radical of a change then just bumping the universal default to 486 seems like the next best thing -- at least that's consistent. Brian