Closed tehKaiN closed 4 years ago
go ahead and add it, as long as it defaults back to -noixemul that'd be fine. just send a pull request and mention "fixes #3" in the message and/or commit and I'll merge it in.
ok, but which way you think would be better? I'd like to do it as future-proof as possible.
M68K_CLIB=libnix/nix13/nix20/clib2/newlib
that's fixed by your latest commits!
https://github.com/bebbo/amiga-gcc/wiki/Libraries
Suppose one wants to build with libnix on OS2+, so you need
-noixemul
or-mcrt=nix20
. Suppose one wants to build with libnix on OS1.3, you need to specify-mcrt=nix13
.Currently 68k.cmake always specifies
-noixemul
. You can't just build always OS1.3 executables because Bebbo's GCC loads different set of includes and you can't directly use OS2+ features. When building for OS2+ executables won't work on OS1.3.So I think we need another parameter similar to
M68K_CPU
andM68K_FPU
which would set OS version. You only need to differentiate OS versions between 1.3 and everything else, so I think addingM68K_KICK13
settable to 0 or 1 would suffice. The other way is to addM68K_AOS
settable to 1, 2, or any other number. This seems more future-proof and would allow adding some quirks for given OS version.@MBeijer what do you think? Which approach should we use?