Thanks. I changed that line and I also tried to convert "esp" to "rsp" and "ebp" to "rbp" in the file libc/fasm.asm, but then I got a further error "pushd arg error: illegal instruction". I have never learned assembly before, so this is really challenging for me. I guess I have to read the manual and figure what how to covert a 32-bit assembly code to the 64bit version.
Joined: 16 Jun 2003
Perhaps better if you can get your system to run 32-bit executables first.
AFAIK, every 64 bit Linux can run 32 bit executables. The problem is with the missing libraries. But FASM for Linux uses only system calls, so it should work like a charm. But yes, linking the libc version will need 32 bit compiler and 32 bit libraries.
Anyway, it is very strange, why one will need to link FASM for libc on Linux? There is normally working version FASM for Linux. IMO, the libc version is only for systems different than Linux. A fall-back, that gives additional level of portability.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum