Checking the ISA reference, it appears that the required atomic instructions appeared in the 486, so -march=486 should work. I have an almost identical patch applied locally and it builds correctly with no modifications to the GNUmakefile, so I'm slightly confused as to why this fails for Fred.

David

On 3 May 2009, at 02:53, Stefan Bidigaray wrote:

On Sat, May 2, 2009 at 4:10 PM, David Chisnall <thera...@sucs.org> 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.

Are you sure about that? Cause I've built GNUstep multiple time with the script here:
http://slackbuilds.org/slackbuilds/12.2/libraries/gnustep-base/gnustep-base.SlackBuild
And have never had a problem. (Note that the default will build with -march=486)

Stefan



_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to