freemint / m68k-atari-mint-gcc

Fork of GNU's gcc with support for the m68k-atari-mint target
https://github.com/freemint/m68k-atari-mint-gcc/wiki
Other
27 stars 7 forks source link

unable to load .so file? #46

Open MedourMehdi opened 2 months ago

MedourMehdi commented 2 months ago

Hi,

I've tried to use ranlib (v9.5, v7.5) on Aranym. It seems it can't run and freeze the whole system. I guess it's the same for real hardware. Also naming rules seem changed, m68k-atari-mint-ranlib was renamed to m68k-atari-mint-gcc-ranlib! It brokes a lot of building script.

Capture d’écran 2024-09-10 à 12 16 04
th-otto commented 2 months ago

The naming change is something that was introduced by gcc. The gcc-ranlib is an executable that handles LTO by passing the compilers plugin name to ranlib. If you don't use LTO, you can also use the normal ranlib.

However the plugin is only available for the elf toolchains, and only for the cross-compiler, not on real hardware, because there is no support for shared libraries.

MedourMehdi commented 2 months ago

Thanks. Does ranlib from latest gcc 7.5 build works for you on real hw? I used the one from your website and from here in the release section.