Retro68
Retro68 copied to clipboard
Can Elf2Mac be turned off?
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?