gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gforth] Running Gforth on Mips64el


From: David Kuehling
Subject: [gforth] Running Gforth on Mips64el
Date: Sat, 24 May 2014 07:05:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Hi,

just compiled Gforth head in a Mips64el Debian Sid system (actually a
chroot boostrapped from here [1]), and the result seems to work.  I'm
actually surprised, given that 64-bit MIPS OS are extremely rare, so
this may have not been tested at all before.  (BTW Gforth package is
missing from the Mips64el port, maybe the older Gforth used in Debian
does have problems with Mips64).

What bugs me is that there is no way to determine the ABI of the
underlying OS from within Gforth.  Typeing MACHINE TYPE just gives
'mips' on both O32 and N64 ABIs.  Gforth' MIPS assembler needs to know
the ABI as register aliases differ by ABI.  I could patch it to just
check CELL-size and assume N64 if CELL=8 and O32 if CELL=4, but then
it'll still fail on N32 MIPS systems (and O64 systems, though these
should be extremely rare or non-existent).

If somebody wants to do Mips64-specific tuning to Gforth, I can hand out
login access to the machine in question.

cheers,

David

[1] http://mips64el.debian.net/debian/
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk2.gpg
Fingerprint: B63B 6AF2 4EEB F033 46F7  7F1D 935E 6F08 E457 205F

Attachment: pgpD38dfZIQK_.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]