2 upvotes, 2 direct replies (showing 2)
View submission: I need SDK for AmigaOS 3
is sc compiler included? I do not see it
Comment by GwanTheSwans at 28/02/2025 at 22:30 UTC
3 upvotes, 1 direct replies
There's several C compilers for AmigaOS elsewhere, you really just need the Developer CDs / NDK / SDK files for the official OS header files and docs etc.
Back in the day there were many C compilers ALL of which enjoyed some popularity - DICE C, VBCC, a GNU GCC port (much earlier than modern of course), Aztec, SAS/C someone already mentioned, StormC. And more.
See also :
Note the cygwin-like ixemul.library/"geekgadgets" environment gnu userspace port to AmigaOS including gcc was often used by devs. Then it's tempting to let dependency on the rather chonky ixemul.library creep in (really a large chunk of BSD kernel ported on top of AmigaOS!). Most any non-pure-gamer Amiga person eventually ended up with ixemul.library versions lurking anyway as so much non-game stuff used it. However, you *could* do ixemul-free output with that stack, note the "gcc -noixemul test.c" given example....
2: http://aminet.net/package/dev/c/dice-3.16
3: http://aminet.net/search?type=advanced&name=VBCC
4: http://aminet.net/package/dev/c/ACM_PDF
Comment by PatTheCatMcDonald at 28/02/2025 at 21:48 UTC
2 upvotes, 0 direct replies
Native Developer Kit should have something to do with C compilation.
There is the 3.1 version included, but apparently insists on a 68020, so maybe the bundled one does not work on 68000?
I do know there are some Amiga C compilers that don't depend on 68000 to compile code. Or are friendly with using 68000 to compile code for itself and other processors.
The tricky bit is testing out code when you don't have the right processor in the environment supporting and trying to run the compiled executable code.
The magic baking stage was linking for compiled code, so it tied into all the system functions and was a happy multitasking program that was well behaved and didn't crash itself or other programs.