<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Mark,<br>
Yes, please kindly send both test executables to me.<br>
Also, if you say the compiler has changed since last christmas, do you
know how I can download the fpc sources version of last christmas?<br>
<br>
Thanks a lot.<br>
<br>
Dennis<br>
</font><br>
Mark Morgan Lloyd wrote:
<blockquote cite="mid:kpaceu$1uv$1@pye-srv-01.telemetry.co.uk"
type="cite">Dennis Poon wrote:
<br>
<blockquote type="cite">Since I have spent days but still cannot
produce a helloworld binary for MIPS big endian, I need someone to to
produce that for me so I can
<br>
test it on my MIPS hardware.
<br>
<br>
I need to know at this stage whether a FPC produced program compiled
for MIPS (big endian) can actually run on my hardware.
<br>
If that result is negative, I shall need a totally different approach.
<br>
</blockquote>
<br>
I've just checked and I have big- and little-endian "Hello, World!"
programs natively-compiled that run on Debian Linux on Qemu. I can send
either or both if it would help, but I'd caution that they date back to
around Xmas last year and something /could/ have changed with the
compiler since.
<br>
<br>
Big endian (on appropriate system):
<br>
<br>
$ file test
<br>
test: ELF 32-bit MSB executable, MIPS, MIPS-II version 1 (SYSV),
statically linked, stripped
<br>
$ ./test
<br>
Hello, World!
<br>
<br>
Little endian (on appropriate system):
<br>
<br>
$ file test
<br>
test: ELF 32-bit LSB executable, MIPS, MIPS-II version 1 (SYSV),
statically linked, stripped
<br>
$ ./test
<br>
Hello, World!
<br>
<br>
/But/ I've got a vague recollection that somebody else had problems
running on some router or other, which is one of the reasons why I
fired things up at the end of last year and did some careful builds. I
can't remember exactly where that one got to- I suggest that you look
back through the fpc-devel and fpc-pascal archive.
<br>
<br>
</blockquote>
</body>
</html>