TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: DRUCK
from: DAVID TAYLOR
date: 2020-05-26 05:34:00
subject: Re: ARM7 program for Rasp

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.