Il 09/12/2013 12:08, Gerald Pfeifer ha scritto: > On Mon, 9 Dec 2013, FX wrote: >> > Look at this as a diagnostics bug: our current diagnostics for this >> > pretty common situation sucks. It comes late in the compilation, and >> > the message itself isn’t helpful. > Totally seconded. > > Paolo, I have been running into this myself and was confused at > first. If that happens to me, building GCC for some 20 years, > imagine a new user. > > This is really something to be identified at configure time, > with a reasonable error message. > > If FX's specific patch is not ideal yet, can you help rework it? > That would be great.
The patch is okay, but if other architecture maintainers could add similar checks for their ports (SPARC and PPC, I guess), it would be nice. Paolo