Sorry, no idea, why this fails for me.
"uname -a" give this result:
Linux hugo 2.6.27.21-0.1-pae #1 SMP 2009-03-31 14:50:44 +0200 i686 i686
i386 GNU/Linux

But I don't know what gcc relies on. I also read somewhere that you have
to use the link flag "-lgcc" to use the new build in functions, but this
may be for the not so well supported platforms.

Really no idea,
Fred


David Chisnall wrote:
> 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