1. building 64-bit EU
- Posted by tanstaafl Sep 04, 2008
- 844 views
- Last edited Sep 05, 2008
Hello again!
I haven't been on this forum for almost five years, and was ecstatic (dare I say euphoric?) when I found out that Rob and Junko had open-sourced EU. Well done!
I am porting Euphoria to a my AMD Athlon 64-bit Linux machine (and later to Cygwin, a POSIX-compatibility layer for Windows), but when I tried ./buildu (hoping against hope; after all, Debian *does* have /lib32), I got these messages: > (cd src/euphoria/source/;./buildu) 2>&1 | head Translator library /tmp/ccnLdgoe.s: Assembler messages: /tmp/ccnLdgoe.s:470: Error: `pusha' is not supported in 64-bit mode /tmp/ccnLdgoe.s:696: Error: `popa' is not supported in 64-bit mode /tmp/ccDzGXPs.s: Assembler messages: /tmp/ccDzGXPs.s:191: Error: suffix or operands invalid for `push' /tmp/ccDzGXPs.s:199: Error: suffix or operands invalid for `push'
It has been a long time since I played around with assembler and machine code (8085, Z80, etc.); I know virtually nothing about x86 code, 32- or 64-bit. If I have to, I'll download the manuals (and judging by the K5 manuals I downloaded and didn't read about eight years ago, that'll be a couple of thousand pages to go through), but ... but ... has anybody else done this, or can anybody tell me how to extend the `push' instruction to 64 bits?
2. Re: building 64-bit EU
- Posted by mattlewis (admin) Sep 05, 2008
- 839 views
I am porting Euphoria to a my AMD Athlon 64-bit Linux machine (and later to Cygwin, a POSIX-compatibility layer for Windows), but when I tried ./buildu (hoping against hope; after all, Debian *does* have /lib32), I got these messages:
Welcome back! I can't help you with x86_64 assembly, but I can recommend that you use the GNU makefile, rather than the buildu shell script, which isn't being maintained.
Matt
3. Re: building 64-bit EU
- Posted by tanstaafl Sep 05, 2008
- 831 views
Thanx, Matt!
I guess apologies are in order as well. I was in a hurry last night, because my wife was smacking me upside the head and telling me to go to be so that I could get more than four hours of sleep. Had I thought about it, I would have spent more time looking for an explanation of the `push' instruction family, not to mention looking through the source folder more closely (grins sheepishly) :\