WheretIB / nullc

Fast C-like programming language with advanced features
MIT License
163 stars 13 forks source link

x86 JIT build fails on linux #6

Closed GoogleCodeExporter closed 4 years ago

GoogleCodeExporter commented 9 years ago
I don't know if this is a 64 bit issue, so just ignore if so.

g++ -g -W -D NULLC_OPTIMIZE_X86 -D NULLC_BUILD_X86_JIT -c NULLC/CodeGen_X86.cpp 
-o temp/CodeGen_X86.o
NULLC/StdLib_X86.h: Assembler messages:
NULLC/StdLib_X86.h:53: Error: suffix or operands invalid for `push'
NULLC/StdLib_X86.h:53: Error: suffix or operands invalid for `pop'
NULLC/CodeGen_X86.cpp:2117: Error: suffix or operands invalid for `pop'
NULLC/CodeGen_X86.cpp:2118: Error: suffix or operands invalid for `pop'
NULLC/CodeGen_X86.cpp:2120: Error: suffix or operands invalid for `pop'
NULLC/CodeGen_X86.cpp:2169: Error: suffix or operands invalid for `push'
NULLC/CodeGen_X86.cpp:2174: Error: suffix or operands invalid for `pop'

Original issue reported on code.google.com by Conrad.S...@gmail.com on 21 Sep 2010 at 7:06

GoogleCodeExporter commented 9 years ago
Yes, x86 JiT doesn't work on x64 systems.

It is possible that the x64 JiT will be made, but not soon.

Original comment by Where...@gmail.com on 21 Sep 2010 at 8:55

WheretIB commented 4 years ago

Fixed