On 26/05/2020 00:34, druck wrote:
> On 25/05/2020 11:50, David Taylor wrote:
>> What happens if, on a Raspberry Pi 1B, I try to run a program with
>> ARM7 code? Anything specific like it refuses to run it or segfaults
>> or???
>
> Most compilers targetting ARMv7 produce Thumb2 code, which is a mix of
> 16bit Thumb and 32bit ARM instructions. ARMv6 only has 32 bit ARM and
> Thumb 1, so will probably segfault straight away.
>
> ---druck
Thanks. I keep getting "illegal instruction" even when I try different
compiler options. Compiling on the RPi 1B for running on the RPI 1B. Sigh!
--
Cheers,
David
Web: http://www.satsignal.eu
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|