Re: Building Hello World on an iMac G5 (Debian 12) for a PPC 405EX target?

Tommy Murphy via crossgcc <[email protected]> Sun, 31 Aug 2025 20:17:25 +0000
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <GVYP280MB0816C7D0B7F7B0BE750483F0F904A@GVYP280MB0816.SWEP280.PROD.OUTLOOK.COM>
>  If this is an inappropriate list, please let me know, and my apologies.

I don't really understand what it has to do with crosstool-NG?

> 1.
> Any ideas how I can get past my hello_world =93Illegal instruction=94 or =
the

Why don't you debug the program to see exactly where it fails and what inst=
ruction triggers the illegal instruction error?

> =93/lib/libc.so.6: version `GLIBC_2.34' not found=94 errors?

Did you compile the program on one Linux host with GLIBC_2.34 and tried to =
run it on a different (most likely older) one that uses an older GLIBC?

> 4.
> There is no ldd on the target device. Are there ldd and other similarly
> relevant utilities currently available somewhere that I can run on the
> target device now?

The target device's Linux distro should provide ldd etc.

--
For unsubscribe information see http://sourceware.org/lists.html#faq