Hi, In other compilers asm can be used to give custom function names (which aren't allowed) this is a great feature, it would allow us to write a function and link with a C++ function, since c++ uses name mangling and function names contain things like '?'
However I've failed to do this, Currently I'm still unsure if this would be possible, because of differences in code generated by Tiny CC and other compilers, I may not be able to link statically, I'm optimistic about dynamic linking though. My aim is to create a c++ dll using TinyCC and import it in an executable that is generated via another compiler, what I mean by C++ dll is that it's just a C compiler program but names of functions are C++ mangled I developed this compiler using Tiny CC https://github.com/chemicallang/chemical A lot of thanks for this awesome project. Regards Waqas Tahir
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel