@SiliconWizard
Oh, well ... I have to do something similar with the DDE of my RISCOS v4.39 adjust
There is no binutils(1) for RISCOS, there is no g-as, so ... you really like to only have { %.s , %.c , %.h } files.
DDE, what? It's the native development toolchain&ide of RISCOS. It's a commercial product and it's very powerful (you can even recompile some RISCOS modules with that) but it can appear limited if you try to compare with what you use for GNU/LINUX or *-BSD.
Why limited? Well, ... on DDE you have a C compiler(3) and an assembly (ARM-classic) compiler, and a linker. Plus other tools, which are for GUI and other specific RISCOS stuff. EndOfList. So, lot of tricks you use on GNU/Linux, *-BSD (including vim-core(2)) are not ... practical. Especially
objdump and similar, and playing with native linker script file is not as flexible as you can do with GNU-gd.
So, you really like to have something you can select with DDE as "project files", and then click on "build it".
(1) actually, you can cross-compile { "make", "bash", "coreutils", "binutils", "gcc" } for RISCOS classic using a lib-unix compatibility layer on a special sandbox that handles files(5).
I did it, as well as I cross-compiled cross-compilers for RISCOS, and somehow - don't ask my how - that
Frankenstein-stuff works, but it's very very slow and inconvenient, also due to the different filesystem.
In fact, on RISC files can't have an extension, so... if you have "hallo.c" you need to create a folder "c" and put "hallo" in that folder; thanks god, there is a (commercial) virtual filesystem module that you can invoke on the fly to adapt the RISCOS filename to the UNIX file name convention.
e.g.
unix app needs to operate with "hello.c" --> file-adapter --> native RISCOS filesystem operates with "c/hello"
unix app needs to operate with "hello.c" --> file-adapter --> native RISCOS filesystem operates with "h/hello"
Crazy? Insanely crazy if you consider that I paid 50 UKP for that (why?!? "
because science"
).
I think, "
money well spent" if you consider that at least it also works over the network (4); just imagine how many things you have to change to get those UNIX-things to work.
That's why you don't want to use binutils tricks on RISCOS
edit:
(2) vim, nano, joe ... this stuff needs an extra level of compatibility because there are no tty on RISCOS.
(3) there is also a C++ compiler, but it doesn't work, forget it!
(4) exported as NFS-v2, you no longer have to move files with a
iomega ZIP/SCSI 50Mbyte cartridge.
(5) especially Bash needs to live into a sandbox in order to mimic stdin/out/err and redirection.