[fpc-pascal] compiling turbo power lockbox on ubuntu 64

herux heruxi at gmail.com
Tue Jul 26 10:13:52 CEST 2011


Hi,
I use RSA encryption library lockbox turbo power.
in a windows environment I managed to compile and the apps working well, I
use {$ mode delphi}. 
but when I compile it on ubuntu 64bit, there is an error when compiling


component/LockBox/LbCipher.pas(708,10) Error: Unknown identifier "EBX"
component/LockBox/LbCipher.pas(708,10) Warning: No size specified and unable
to determine the size of the operands, using DWORD as default
component/LockBox/LbCipher.pas(709,10) Error: Unknown identifier "EAX"
component/LockBox/LbCipher.pas(709,10) Warning: No size specified and unable
to determine the size of the operands, using DWORD as default
component/LockBox/LbCipher.pas(710,13) Error: Unknown identifier "EAX"
component/LockBox/LbCipher.pas(710,15) Error: Assembler syntax error in
operand
component/LockBox/LbCipher.pas(710,19) Error: Unknown identifier "EAX"
component/LockBox/LbCipher.pas(710,19) Error: Assembler syntax error in
operand
component/LockBox/LbCipher.pas(711,12) Error: Unknown identifier "BH"
component/LockBox/LbCipher.pas(711,14) Error: Unknown identifier "AL"
component/LockBox/LbCipher.pas(712,12) Error: Unknown identifier "BL"
component/LockBox/LbCipher.pas(712,14) Error: Unknown identifier "AH"
component/LockBox/LbCipher.pas(713,13) Error: Unknown identifier "EBX"
so on ...

asm delphi like code doesn't compiled right ? but why on windows compiled ?

I am trying to cross compile it in windows, for linux x86_64, and produces
the same error.
whether the asm code is not supported for 64bit?

-----
-
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/compiling-turbo-power-lockbox-on-ubuntu-64-tp4634016p4634016.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list