On Tue, Feb 18, 2025 at 6:02 PM Bernd Böckmann via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote:
> > the above mentioned SVED shows how to write *really* small programs in > WATCOM C. > > > > it provides a minimum ASM stub, which calls a C main() which does all > the hard work. > > This ASM stub is actually a separate project of mine called WMINCRT > (Watcom Minimal C RunTime). The revision shipped with SVED should be the > following: > > https://github.com/SvarDOS/core/tree/master/wmincrt/tags/20231113 > > Later revisions of WMINCRT support OPTIONAL command line processing into > argc, argv, a VERY rudimentary memory allocator, test for NULL ptr writes, > debug builds etc. However, they introduce quite some complexity, which I > dislike in retrospective. But even with these added "features", a minimal > .EXE file is still well below 300 bytes. > > https://github.com/SvarDOS/core/tree/master/wmincrt/trunk > > I took a look, and it's really cool! I was thinking I'd probably want to write something like this on my own, but wmincrt seems to do what I'd want, so I'd like to incorporate it in DOG. :D The header file seems to be under MIT, does that mean that the whole thing is released under MIT? What's the best way to incorporate it into a project? I guess the tags correspond to separate releases? Which release do you recommend, the newest 20250105? --Wolf -- |\_ | .\---. / ,__/ / /Wolf <wolf+...@bergenheim.net>_
_______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel