Retro68 icon indicating copy to clipboard operation
Retro68 copied to clipboard

Can Elf2Mac be turned off?

Open elliotnunn opened this issue 11 months ago • 0 comments

Currently I build the classicvirtio drivers in two steps: "m68k-apple-macos-gcc -c" to compile and "m68k-apple-macos-ld" to link an ELF file. The ELF goes into a NuBus card ROM along with a rudimentary ELF loader.

I would prefer to let a single "gcc" invocation handle the compiling and linking, as the easiest way to get link-time optimisation. This does not seem to be possible because Retro68 "gcc" cannot be prevented from calling "Elf2Mac" as its linker.

Is it possible to change this, so that a plain "gcc" invocation can produce a plain ELF file?

elliotnunn avatar Nov 08 '24 04:11 elliotnunn