[Gambas-user] Architecture of gambas binary files
Benoît Minisini
gambas at ...1...
Sun Feb 26 20:43:27 CET 2012
Le 26/02/2012 01:52, Sebi a écrit :
> Hi, I would like to know if the gambas binaries created from the IDE, debian, packages or any other type of compilation are architecture dependent or not.
> i.e. Can a gambas binary compiled on a i386 be executed on amd64?
>
> Thanks!
>
Gambas bytecode is architecture independant (the same on
x86/x86_64/ARM...). The only way of circumventing that is using the
preprocessor (#If ... #Endif) to make your program compile differently
according to the architecture.
Regards,
--
Benoît Minisini
More information about the User
mailing list