Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Elf2Mac be turned off? #271

Open
elliotnunn opened this issue Nov 8, 2024 · 0 comments
Open

Can Elf2Mac be turned off? #271

elliotnunn opened this issue Nov 8, 2024 · 0 comments

Comments

@elliotnunn
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant