Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compile and run 32bit programs on aarch64eb



On Thu, Nov 20, 2025 at 05:33:22PM +0100, Christian Groessler wrote:
> Hi,
> 
> what do I need in order to compile and run armv7eb binaries on an aarch64eb
> system?
> 
> I've built a compiler using "./build.sh -m evbarm -a earmv7hfeb -M /usr/obj
> -T /usr/tools tools", but this compiler misses libraries (and probably
> header files):

You need /usr/include, /lib and /usr/lib from a earmv7hfeb build too.
You could do a full build like above but with s/tools/build/, or download
the prebuild ones and extract only the comp and (if needed) xcomp sets.
Then point the compiler with -sysroot=/your/build/destdir at it.

Martin


Home | Main Index | Thread Index | Old Index