SmallerC icon indicating copy to clipboard operation
SmallerC copied to clipboard

Simple C compiler

Results 9 SmallerC issues
Sort by recently updated
recently updated
newest added

Fixes for Issue #32.

Even though the compiler is short living, preventing those leakages should be a good practice. I can fix them ![image](https://user-images.githubusercontent.com/48068999/162969345-7ce753c8-b22e-47d5-8578-7dfa97ca6914.png)

https://www.virustotal.com/gui/file/e96b3b77fe77d643ba8c3eea4f1a1b35ffe532cab6bfd65bb4b9b75264640554/detection

My code is based on Pull request 33 from aleexmaftei. Changes: - Implementation of "-8086" flag on smlrc and smlrcc - Implementation of macro \_\_SMALLER_C_8086\_\_, setted by "-8086" flag -...

The default filename for dos or windows targets is "aout.exe" That name is not detected by autoconf, and I think, that SmallerC is far too small that autoconf would change...

I have been looking for a small c compiler to hack a backend into for my bytecode virtual machine and so far most are not approachable at all..

question

Warning fixes that are still relevant.

### env 5.15.133.1-microsoft-standard-WSL2 commit b120a9c389146bc2049dfff5fa16673210c8a12a ### issue $ valgrind --leak-check=full smlrcc 1.c ==81279== Memcheck, a memory error detector ==81279== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al....

Currently smallerc's makefiles change PATH. This breaks cross-compilation systems, like Termux, because there we need to run not exactly the binaries that were built. I'll patch that out myself. However,...