Orange C binaries still have `.exe` extensions on Linux and FreeBSD
This is about the compilation of Orange C itself, not the binaries produced by Orange C. It has not yet reached this stage.
As @mh466lfa has noted, the binaries still have .exe extensions even on Linux and FreeBSD. Running file against them confirmed that they are valid ELF binaries. So, the rules in your makefile incorrectly introduced the .exe extensions on Linux and FreeBSD.
Looking into linux builds (doing fullbuild on Linux), one of the current issues is exactly this, as even if I add /home/user/OrangeC/bin as the path it does not fix the issue here, as linux will not chop the .exe automatically.
I'm going to look into this before #1060 so that I can fullbuild and get a working build as an occ cross-compiler, afterwards I hope to do cross compiles using occ targeting windows, then email the debian-toolchain mailing list and see what steps we would need to take to package everything for debian...
so i didn't catch this.. kind of a rough one I guess. Since it not only affects what is being built but what it is being built with. And there may be issues where the tools add .exe when spawning things I don't know...
Also we shouldn't forget dist.mak and we should look through all the 'DISTRIBUTE' rules in the make files...