I tried feeding it a file with justand looked at the hex and found it had added a whole bunch of unused CRT stuff, I wanted to see a bare bone example of an entry point so that I could try writing my own compiler (never found a MIT licensed one so going in with the idea of it being extensible like firefox with it's addons but from preprocessor side), I'm using x86_64 byte code as my playground for this and attempted to make an elf that just returns 0, while the header was correctly recognized the attempt at executing just resulted in a crazy file being created and that's it. By the by the entry code I used was "90 C3 00 00 00 00"Code:int main(){ return 0; }
If you know any good resources for this kinda stuff I'll happily look at that instead since the GCC result just looks obfuscated with unneeded stuff to me.