Am Sonntag, den 03.05.2009, 17:30 +0100 schrieb David Chisnall: > On 3 May 2009, at 17:26, Riccardo Mottola wrote: > > > David Chisnall wrote: > >> On i386, you need -march=i586 or higher for this to work. The > >> existing code will break at runtime, rather than link time, on an > >> 80486 and earlier, and so I assume (from the fact no one has > >> complained) that no one is using GNUstep on a 386/486. > >> > > Well, how old is that code? Up to about a year ago I built and used > > GNUstep on a 486-class machine, although the CPU was not genuine > > intel but a compatible processor which was based on 488 ISA, it did > > work... > > As I said in my other email, I was mistaken about when the atomic ops > were introduced. They should work with -march=486, not just - > march=586 - it works for me with no manually-set CFLAGS or modified > GNUmakefile, on GCC 4.2.
I could imagine that the distribution kernels/assemblers were configured to support only a subset of the features -march=486 or lower. I think the way to move forward is to add a configure option/test which would fallback to a more portable yet less efficient implementation. I can help with the configure.ac snippets if you wish. But wrt to the correct implementation I'd like to defer to you. Cheers, David _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev