- Joined: 10 May 2005
- Posts: 91
- Location: Merry Olde England
|
Compiling Meka For 64bit Machines
Posted: Mon Jun 02, 2008 1:03 pm
|
Has anyone been successful in compiling Meka on a 64bit machine?
I've altered the makefile so that GCC knows to create x86-64 output (same for nasm, too), but I get errors:
hq2x16.asm:480: error: instruction not supported in 64-bit mode
hq2x16.asm:482: error: instruction not supported in 64-bit mode
hq2x16.asm:1845: error: short jump is out of range
hq2x16.asm:1893: error: instruction not supported in 64-bit mode
hq2x16.asm:1895: error: instruction not supported in 64-bit mode
Which is:
480: push ebp
482: pushad
1845: jl .nexty
1893: popad
1895: pop ebp
It appears that the same (or very similar) code in "hq2x32.asm" also gives errors (but the line numbers differ slightly).
Are there any fixes for this?
|
- Site Admin
- Joined: 19 Oct 1999
- Posts: 14741
- Location: London
|
Posted: Mon Jun 02, 2008 1:30 pm
|
Well, it looks like the assembler hq2x routines don't compile in 64-bit mode... you can try replacing them with the C versions, although it looks as if there's only a 32bpp version.
|
- Joined: 25 Jul 2007
- Posts: 731
- Location: Melbourne, Australia
|
Posted: Mon Jun 02, 2008 1:36 pm
|
I was attempting the same thing with MSVC a while ago, didn't really have problems there, mostly it was in setting up the dev environment to compile properly. Almost had a successful build but haven't attempted since.
|
- Joined: 07 Aug 2007
- Posts: 220
- Location: Yach, Germany
|
Posted: Sat Aug 02, 2008 5:11 pm
|
I have compiled Meka 0.70 (the latest released version) for x86-64.
Philipp
|