What compiler statement to use for the ARM (RPI) ?
I have some assembler code in use, which runs fine under x86-64 processor architecture, but doesn't under ARM.
I made a replacement for the assembler code, but instead of removing, I'de like to keep it inside the import file.
So I think, I can do that with the correct compiler statement, but which one ?
Thanks
What compiler statement for the ARM (RPI processor architecture) ?
What compiler statement for the ARM (RPI processor architecture) ?
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
-
- Addict
- Posts: 1443
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: What compiler statement for the ARM (RPI processor architecture) ?
It is impossible intel asm code, compile for ARM.
Assembler code for Intel and ARM different and need to completely rewrite the code.
Assembler code for Intel and ARM different and need to completely rewrite the code.
Re: What compiler statement for the ARM (RPI processor architecture) ?
Code: Select all
CompilerSelect #PB_Compiler_Processor
CompilerCase #PB_Processor_x86
CompilerCase #PB_Processor_x64
CompilerCase #PB_Processor_Arm32
CompilerCase #PB_Processor_Arm64
CompilerEndSelect
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: What compiler statement for the ARM (RPI processor architecture) ?
I have been looking in the PB-help but did not see any of those for ARM, like #PB_Processor_Arm64.
I use PB6.00 beta 5 on Linux and RPI, so where did you get these from ?
@User_Russian that's why I ask for this.
Thanks mk-soft
I use PB6.00 beta 5 on Linux and RPI, so where did you get these from ?
@User_Russian that's why I ask for this.
Thanks mk-soft
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Re: What compiler statement for the ARM (RPI processor architecture) ?
The PB help will only be up to date with the release version.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive