alexfru USA, 03.01.2014, 06:46 |
Smaller C compiler (Announce) |
Hello fellow DOS lovers! |
alexfru USA, 17.02.2014, 07:59 @ alexfru |
Smaller C compiler |
Basic support for struct/union has just been submitted. |
Oso2k 19.02.2014, 18:46 @ alexfru |
Smaller C compiler |
> Basic support for struct/union has just been submitted. |
alexfru USA, 19.02.2014, 21:04 @ Oso2k |
Smaller C compiler |
> Does this mean you allow this funky bit of C structs? |
alexfru USA, 25.02.2014, 09:19 @ alexfru |
Smaller C compiler |
New things: |
alexfru USA, 02.03.2014, 06:29 @ alexfru |
Smaller C compiler |
New things: |
alexfru USA, 10.03.2014, 09:45 @ alexfru |
Smaller C compiler |
New things: |
alexfru USA, 21.04.2014, 05:04 @ alexfru |
Smaller C compiler |
Improvements/New things: |
alexfru USA, 14.09.2014, 12:03 @ alexfru |
Smaller C compiler |
I've uploaded binaries for DOS and most of the standard library. |
alexfru USA, 09.11.2014, 12:18 @ alexfru |
Smaller C compiler |
I've just added support for Windows as both a host and a target platform. |
alexfru USA, 28.11.2014, 13:13 @ alexfru |
Smaller C compiler |
I've updated the documentation (smlrcc.exe, smlrl.exe, standard library): |
alexfru USA, 21.12.2014, 11:28 @ alexfru |
Smaller C compiler |
I've added Linux support (library and binaries). |
alexfru USA, 10.01.2015, 19:39 @ alexfru |
Smaller C compiler |
I've added an option (-ppg) to smlrcc to invoke gcc as a preprocessor and included the va_* macros in stdarg.h. |
alexfru USA, 20.04.2015, 08:52 @ alexfru |
Smaller C compiler |
For those interested, it's now possible to pass and return structures by value. |
alexfru USA, 26.04.2015, 06:12 @ alexfru |
Smaller C compiler |
A few important bugfixes are uploaded. |
Rugxulo![]() Usono, 07.05.2015, 10:33 @ alexfru |
Smaller C compiler (tests under emulation) |
I never read nor frequented news://alt.os.development before, |
alexfru USA, 08.05.2015, 09:32 @ Rugxulo |
Smaller C compiler (tests under emulation) |
> I never read nor frequented news://alt.os.development before, |
Rugxulo![]() Usono, 08.05.2015, 17:10 @ alexfru |
Smaller C compiler (tests under emulation) |
> I do have my own tools to create a FAT12-formatted floppy and populate |
tom![]() Germany (West), 08.05.2015, 20:31 @ Rugxulo |
Smaller C compiler (tests under emulation) |
> And the problem with FreeDOS' kernel is reliance on quasi-standard 16-bit |
Rugxulo![]() Usono, 09.05.2015, 02:57 @ tom |
Smaller C compiler (tests under emulation) |
> > And the problem with FreeDOS' kernel is reliance on quasi-standard |
alexfru USA, 10.05.2015, 00:25 @ Rugxulo |
Smaller C compiler (tests under emulation) |
> > I do have my own tools to create a FAT12-formatted floppy and populate |
Rugxulo![]() Usono, 10.05.2015, 04:46 @ alexfru |
Smaller C compiler (tests under emulation) |
> > What's the problem with .BATs? Too tedious? Anyways, I'm starting |
Rugxulo![]() Usono, 21.05.2015, 03:26 (edited by Rugxulo, 21.05.2015, 03:40) @ Rugxulo |
Smaller C compiler (tests under emulation) |
> > .BATs are a bit too primitive to my taste and insufficiently |
alexfru USA, 17.05.2015, 02:51 @ alexfru |
Smaller C compiler |
Improvements: |
alexfru USA, 15.08.2015, 11:20 @ alexfru |
Smaller C compiler |
What's new in the compiler? |
alexfru USA, 07.09.2015, 00:57 @ alexfru |
Smaller C compiler |
What's new in the compiler? |
alexfru USA, 14.06.2016, 11:24 @ alexfru |
Smaller C compiler |
Btw, did I tell you that Smaller C has basic floating point support now? |
Rugxulo![]() Usono, 19.06.2016, 02:22 @ alexfru |
Smaller C compiler |
> Btw, did I tell you that Smaller C has basic floating point support now? |
Rugxulo![]() Usono, 04.09.2015, 03:19 @ alexfru |
Smaller C compiler |
(BTW, sorry for procrastinating and not testing this sooner. You've done very good work!) |
alexfru USA, 04.09.2015, 07:22 @ Rugxulo |
Smaller C compiler |
> (BTW, sorry for procrastinating and not testing this sooner. You've done |
Rugxulo![]() Usono, 06.09.2015, 02:32 @ alexfru |
Smaller C compiler |
> Smaller C does not support all of the C language (that applies to the |
alexfru USA, 06.09.2015, 07:05 @ Rugxulo |
Smaller C compiler |
> > Smaller C does not support all of the C language (that applies to the |
alexfru USA, 07.09.2015, 04:14 @ Rugxulo |
Smaller C compiler |
> Anyways, FYI, I think |
Rugxulo![]() Usono, 08.09.2015, 00:48 @ alexfru |
Smaller C compiler |
> > Anyways, FYI, I think -undef is more appropriate |
alexfru USA, 08.09.2015, 01:08 @ Rugxulo |
Smaller C compiler |
> > > Anyways, FYI, I think |
Rugxulo![]() Usono, 12.11.2015, 03:02 @ alexfru |
Smaller C compiler |
> > DJGPP GCCs 3.4.6 and 4.9.1 worked fine for me. I don't know which |
Oso2k 12.11.2015, 22:59 @ Rugxulo |
Smaller C compiler |
> > > DJGPP GCCs 3.4.6 and 4.9.1 worked fine for me. I don't know which |
Rugxulo![]() Usono, 05.12.2015, 06:00 @ Oso2k |
Smaller C compiler |
> > 10 years ago is roughly when the 3.x series ended. I think it's fair to say |
Rugxulo![]() Usono, 14.06.2016, 03:34 @ alexfru |
Smaller C compiler |
It seems that MS Visual C is starting to use a new, improved optimizer. |
alexfru USA, 14.06.2016, 11:16 @ Rugxulo |
Smaller C compiler |
> It seems that MS Visual C is starting to use a new, improved optimizer. |
Rugxulo![]() Usono, 15.06.2016, 01:00 @ alexfru |
Smaller C compiler |
> > I mention this only because they mention fuzz testing with tools like |
alexfru USA, 15.06.2016, 09:11 @ Rugxulo |
Smaller C compiler |
> > > I mention this only because they mention fuzz testing with tools like |
Rugxulo![]() Usono, 16.06.2016, 19:26 @ alexfru |
Smaller C compiler |
> > > What I really (still!) need is a preprocessor. |
alexfru USA, 17.06.2016, 10:36 @ Rugxulo |
Smaller C compiler |
> > > > What I really (still!) need is a preprocessor. |
Rugxulo![]() Usono, 18.06.2016, 18:26 @ alexfru |
Smaller C compiler |
> > Ah, I had forgotten (since I've never used Plan9) that they were a bit |
alexfru USA, 19.06.2016, 00:08 @ Rugxulo |
Smaller C compiler |
> > > Ah, I had forgotten (since I've never used Plan9) that they were a bit |
Rugxulo![]() Usono, 19.06.2016, 01:56 @ alexfru |
Smaller C compiler |
> I've read all that before. However, I've missed or forgotten the statement |
Oso2k 04.07.2016, 07:22 @ Rugxulo |
Smaller C compiler |
If you're not a fan of that other ucpp, you can try my copy which is minimally changed from Thomas P's version (make file only, a couple bug fixes, easy to embed). Btw, I'm the upstream the other ucpp links to on code.google.com. |
alexfru USA, 10.07.2016, 08:19 @ Oso2k |
Smaller C compiler |
> If you're not a fan of that other ucpp, you can try my copy which is |
Rugxulo![]() Usono, 30.07.2016, 07:20 @ alexfru |
Smaller C compiler |
> I've actually almost finished integrating it with Smaller C. |
alexfru USA, 30.07.2016, 07:54 @ Rugxulo |
Smaller C compiler |
> > I've actually almost finished integrating it with Smaller C. |
Rugxulo![]() Usono, 09.08.2016, 18:40 (edited by Rugxulo, 09.08.2016, 20:38) @ alexfru |
Smaller C compiler |
BTW, I've never looked closely, but I'm not sure your tmpfile handling works correctly in FreeDOS. It doesn't seem to find %TEMP% or %TMP%, instead preferring current dir (e.g. "@.\TMP00002.$$$"). |
alexfru USA, 10.08.2016, 09:38 @ Rugxulo |
Smaller C compiler |
> BTW, I've never looked closely, but I'm not sure your tmpfile handling |
alexfru USA, 10.08.2016, 13:40 @ Rugxulo |
Smaller C compiler |
> BTW, I've never looked closely, but I'm not sure your tmpfile handling |
Rugxulo![]() Usono, 10.08.2016, 16:40 @ alexfru |
Smaller C compiler |
> Try the updated binaries and libraries. |
Rugxulo![]() Usono, 19.08.2016, 03:10 @ alexfru |
Smaller C compiler |
(This is almost too trivial or redundant to even mention, but alas ....) |
alexfru USA, 19.08.2016, 08:55 @ Rugxulo |
Smaller C compiler |
> (This is almost too trivial or redundant to even mention, but alas ....) |
alexfru USA, 28.08.2016, 08:46 @ alexfru |
Smaller C compiler |
> > (This is almost too trivial or redundant to even mention, but alas ....) |
alexfru USA, 14.12.2016, 08:50 @ alexfru |
Smaller C compiler |
> > > |
Rugxulo![]() Usono, 14.05.2017, 22:29 @ alexfru |
Smaller C compiler |
> news://comp.os.msdos.programmer on Wed 07 Sep 2016 |
alexfru USA, 17.05.2017, 08:33 @ Rugxulo |
Smaller C compiler |
> > news://comp.os.msdos.programmer on Wed 07 Sep 2016 |
Rugxulo![]() Usono, 18.06.2017, 07:47 @ alexfru |
Smaller C compiler |
> > So I have no idea if you can speed up your tests by "set NASMENV=-O0" |
Rugxulo![]() Usono, 18.06.2017, 20:31 @ Rugxulo |
Smaller C compiler |
> So what about using "-a"? I haven't tested it, but they claim its |
Rugxulo![]() Usono, 10.11.2017, 04:16 @ alexfru |
Smaller C compiler |
Someone on freedos-user was mentioning DeSmet C (which was GPL'd several years ago), hinting that we should make a package for FDNPKG. But it's a somewhat limited toolset, and I think SmallerC would make a better package. Would that be okay with you if I made one? It would go in the Software List under Development, mirrored on iBiblio. |
alexfru USA, 10.11.2017, 05:27 @ Rugxulo |
Smaller C compiler |
> Someone on freedos-user was mentioning DeSmet |
Rugxulo![]() Usono, 11.11.2017, 06:51 @ alexfru |
Smaller C compiler |
> There's also "Pacific C for MS-DOS, v7.51" in case it's forgotten. |
Rugxulo![]() Usono, 12.11.2017, 01:39 @ Rugxulo |
Smaller C compiler |
> On this machine, I don't have that installed, only Avast, and even it |
alexfru USA, 12.11.2017, 12:07 @ Rugxulo |
Smaller C compiler |
> > On this machine, I don't have that installed, only Avast, and even it |
alexfru USA, 12.11.2017, 12:16 @ alexfru |
Smaller C compiler |
> virusware of today. |
Rugxulo![]() Usono, 22.11.2017, 06:43 @ Rugxulo |
Smaller C compiler |
> On this machine, I don't have that installed, only Avast, and even it |
alexfru USA, 22.11.2017, 07:58 @ Rugxulo |
Smaller C compiler |
> > On this machine, I don't have that installed, only Avast, and even it |
alexfru USA, 22.11.2017, 08:22 @ alexfru |
Smaller C compiler |
> I should also try Belard's TinyCC as well since it's about as |
alexfru USA, 22.11.2017, 09:34 @ alexfru |
Smaller C compiler |
> I also didn't rule out lack of imports from msvcrt.dll. It must not matter. |
alexfru USA, 23.11.2017, 10:20 @ alexfru |
Smaller C compiler |
> Avast is still there with its suspicions. |
Rugxulo![]() Usono, 26.11.2017, 13:43 @ alexfru |
Smaller C compiler |
> I don't know exactly what's so suspicious about my compiler's output. |
alexfru USA, 27.11.2017, 03:10 @ Rugxulo |
Smaller C compiler |
> > MacOS executables. Do those engines not check those other formats at |
Rugxulo![]() Usono, 28.11.2017, 13:49 @ alexfru |
Smaller C compiler |
> How about the two MZ chars stripped? Here's [av.zip] the link to download |
alexfru USA, 28.11.2017, 18:03 @ Rugxulo |
Smaller C compiler |
> > How about the two MZ chars stripped? Here's [av.zip] the link to |
alexfru USA, 23.11.2017, 20:31 @ Rugxulo |
Smaller C compiler |
> > > Actually, MS Security Essentials deleted my local .ZIP |
alexfru USA, 28.11.2017, 23:47 @ Rugxulo |
Smaller C compiler |
> > Also, it's probably a good idea to include the project wiki pages |
Rugxulo![]() Usono, 30.11.2017, 18:43 (edited by Rugxulo, 30.11.2017, 19:18) @ alexfru |
Smaller C compiler |
> I've moved the documentation as markdown files (.md) from the wiki to |
alexfru USA, 03.12.2017, 03:47 @ Rugxulo |
Smaller C compiler |
> <rant> |
roytam 05.12.2017, 16:08 (edited by Rugxulo, 06.12.2017, 12:58) @ Rugxulo |
Smaller C compiler |
> EDIT #2: Using the URL to master.zip at VirusTotal does give me 2/66 false |
alexfru USA, 12.12.2017, 08:26 @ Rugxulo |
Smaller C compiler |
> > I've moved the documentation as markdown files (.md) from the wiki to |
Rugxulo![]() Usono, 13.12.2017, 00:53 @ alexfru |
Smaller C compiler |
> I also made most of the text in the .md files fit a 80-column screen. |
Rugxulo![]() Usono, 20.12.2017, 02:12 @ alexfru |
Smaller C compiler |
(I just got this email. FYI, I quote it below.) |
Rugxulo![]() Usono, 30.11.2017, 19:37 @ alexfru |
Smaller C compiler |
> Include the project GitHub URL and the SHA of the top commit somewhere in |
alexfru USA, 03.12.2017, 03:48 @ Rugxulo |
Smaller C compiler |
> Apparently the SHA of latest commit is included as main comment in .ZIP |
Rugxulo![]() Usono, 18.06.2016, 18:20 @ alexfru |
Smaller C compiler |
> > Sadly, some people have no imagination, certainly regarding DOS. |
alexfru USA, 19.06.2016, 00:22 @ Rugxulo |
Smaller C compiler |
> > > Sadly, some people have no imagination, certainly regarding DOS. |
alexfru USA, 20.06.2016, 07:51 @ alexfru |
Smaller C compiler |
> > > > Isn't ancient GCC 2.7's CPP fairly small? I imagine that would be |
RayeR![]() CZ, 19.02.2014, 01:15 @ alexfru |
Smaller C compiler |
Just a quick test, there's one waring with gcc 4.8.x: --- |
alexfru USA, 19.02.2014, 05:33 (edited by alexfru, 19.02.2014, 06:23) @ RayeR |
Smaller C compiler |
> smlrc.c: In function 'exprval': |
roytam 30.03.2015, 04:49 @ alexfru |
Smaller C compiler |
> Hello fellow DOS lovers! |
alexfru USA, 30.03.2015, 06:42 @ roytam |
Smaller C compiler |
> I read some discussions in IRC somewhere and there is a question raised: |
roytam 02.04.2015, 02:01 @ alexfru |
Smaller C compiler |
> Multiple reasons: |
alexfru USA, 02.04.2015, 10:08 @ roytam |
Smaller C compiler |
> hmm, what about win16 (NE output) support? |