Smaller C compiler (Announce)
> > > > What I really (still!) need is a preprocessor.
> >
> > > You mention Plan9/LCC, but isn't LCC different? Plan9 has its own
> > compiler.
> >
> > The compiler proper is different. But the LCC authors borrowed the
> > preprocessor from Plan9
>
> Ah, I had forgotten (since I've never used Plan9) that they were a bit
> different. So yeah, perhaps by default they didn't need (or want) a "full"
> preprocessor, hence the POSIX environment add-on.
I'm not sure what you're talking about. There's not much of POSIX in the preprocessor, just file handles and open()/read()/etc instead of FILE* and fopen()/fgetc()/etc, which is the easiest thing to clean up and standardize w.r.t. ANSI C. In terms of functionality there's almost no difference as far as I can tell by looking at the diff (most notably, wide chars, Unicode and variadic macros (..., __VA_ARGS__) have been removed). But it looks like they've done some valuable cleanup as well.
> > > Though LCC does allegedly use dmr's CPP (or so I thought). Yeah, LCC
> > > license sucks.
> >
> > I wonder if the LCC guys would agree to explicitly license their version
> of
> > the preprocessor as GPL as well (they don't have to, but it would be nice
> =
> > less work for me or for someone else adapting the code again).
>
> Like I said, Plan9 is dual-licensed these days, so maybe it already is
> okay. But maybe not. Hopefully so, but then again, if LCC itself still (!)
> isn't OSI or FSF friendly, then it's unlikely they'll ever care.
I don't think licenses can travel backwards and then forward again in time. The diff between LCC and Plan9 is not GPL'd.
> > > I would even suggest (T)ACK, but I don't see a separate CPP binary
> > there.
> >
> > There was something I didn't like about ACK.
>
> Well, if the cpp isn't a separate utility, it's probably useless for your
> needs. But that one guy did finally make a new pre-release a week or so
> ago. The big change now is using ordinary makefiles (instead of Prime Mover
> [Lua]), maybe that's what you meant??
Nopes. Just looked at it again. It needs additional tools to compile besides the C compiler.
Alex
Complete thread:
- Smaller C compiler - alexfru, 03.01.2014, 06:46 (Announce)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Smaller C compiler - alexfru, 17.02.2014, 07:59
- Smaller C compiler - Oso2k, 19.02.2014, 18:46
- Smaller C compiler - alexfru, 19.02.2014, 21:04
- Smaller C compiler - alexfru, 25.02.2014, 09:19
- Smaller C compiler - alexfru, 02.03.2014, 06:29
- Smaller C compiler - alexfru, 10.03.2014, 09:45
- Smaller C compiler - alexfru, 21.04.2014, 05:04
- Smaller C compiler - alexfru, 14.09.2014, 12:03
- Smaller C compiler - alexfru, 09.11.2014, 12:18
- Smaller C compiler - alexfru, 28.11.2014, 13:13
- Smaller C compiler - alexfru, 21.12.2014, 11:28
- Smaller C compiler - alexfru, 10.01.2015, 19:39
- Smaller C compiler - alexfru, 20.04.2015, 08:52
- Smaller C compiler - alexfru, 26.04.2015, 06:12
- Smaller C compiler (tests under emulation) - Rugxulo, 07.05.2015, 10:33
- Smaller C compiler (tests under emulation) - alexfru, 08.05.2015, 09:32
- Smaller C compiler (tests under emulation) - Rugxulo, 08.05.2015, 17:10
- Smaller C compiler (tests under emulation) - tom, 08.05.2015, 20:31
- Smaller C compiler (tests under emulation) - Rugxulo, 09.05.2015, 02:57
- Smaller C compiler (tests under emulation) - alexfru, 10.05.2015, 00:25
- Smaller C compiler (tests under emulation) - Rugxulo, 10.05.2015, 04:46
- Smaller C compiler (tests under emulation) - Rugxulo, 21.05.2015, 03:26
- Smaller C compiler (tests under emulation) - Rugxulo, 10.05.2015, 04:46
- Smaller C compiler (tests under emulation) - tom, 08.05.2015, 20:31
- Smaller C compiler (tests under emulation) - Rugxulo, 08.05.2015, 17:10
- Smaller C compiler (tests under emulation) - alexfru, 08.05.2015, 09:32
- Smaller C compiler - alexfru, 17.05.2015, 02:51
- Smaller C compiler - alexfru, 15.08.2015, 11:20
- Smaller C compiler - alexfru, 07.09.2015, 00:57
- Smaller C compiler - alexfru, 14.06.2016, 11:24
- Smaller C compiler - Rugxulo, 19.06.2016, 02:22
- Smaller C compiler - alexfru, 14.06.2016, 11:24
- Smaller C compiler - alexfru, 07.09.2015, 00:57
- Smaller C compiler - alexfru, 15.08.2015, 11:20
- Smaller C compiler (tests under emulation) - Rugxulo, 07.05.2015, 10:33
- Smaller C compiler - alexfru, 26.04.2015, 06:12
- Smaller C compiler - Rugxulo, 04.09.2015, 03:19
- Smaller C compiler - alexfru, 04.09.2015, 07:22
- Smaller C compiler - Rugxulo, 06.09.2015, 02:32
- Smaller C compiler - alexfru, 06.09.2015, 07:05
- Smaller C compiler - alexfru, 07.09.2015, 04:14
- Smaller C compiler - Rugxulo, 08.09.2015, 00:48
- Smaller C compiler - alexfru, 08.09.2015, 01:08
- Smaller C compiler - Rugxulo, 12.11.2015, 03:02
- Smaller C compiler - Oso2k, 12.11.2015, 22:59
- Smaller C compiler - Rugxulo, 05.12.2015, 06:00
- Smaller C compiler - Oso2k, 12.11.2015, 22:59
- Smaller C compiler - Rugxulo, 14.06.2016, 03:34
- Smaller C compiler - alexfru, 14.06.2016, 11:16
- Smaller C compiler - Rugxulo, 15.06.2016, 01:00
- Smaller C compiler - alexfru, 15.06.2016, 09:11
- Smaller C compiler - Rugxulo, 16.06.2016, 19:26
- Smaller C compiler - alexfru, 17.06.2016, 10:36
- Smaller C compiler - Rugxulo, 18.06.2016, 18:26
- Smaller C compiler - alexfru, 19.06.2016, 00:08
- Smaller C compiler - Rugxulo, 19.06.2016, 01:56
- Smaller C compiler - Oso2k, 04.07.2016, 07:22
- Smaller C compiler - alexfru, 10.07.2016, 08:19
- Smaller C compiler - Rugxulo, 30.07.2016, 07:20
- Smaller C compiler - alexfru, 30.07.2016, 07:54
- Smaller C compiler - Rugxulo, 09.08.2016, 18:40
- Smaller C compiler - alexfru, 10.08.2016, 09:38
- Smaller C compiler - alexfru, 10.08.2016, 13:40
- Smaller C compiler - Rugxulo, 10.08.2016, 16:40
- Smaller C compiler - Rugxulo, 19.08.2016, 03:10
- Smaller C compiler - alexfru, 19.08.2016, 08:55
- Smaller C compiler - alexfru, 28.08.2016, 08:46
- Smaller C compiler - alexfru, 14.12.2016, 08:50
- Smaller C compiler - Rugxulo, 14.05.2017, 22:29
- Smaller C compiler - alexfru, 17.05.2017, 08:33
- Smaller C compiler - Rugxulo, 18.06.2017, 07:47
- Smaller C compiler - Rugxulo, 18.06.2017, 20:31
- Smaller C compiler - Rugxulo, 10.11.2017, 04:16
- Smaller C compiler - alexfru, 10.11.2017, 05:27
- Smaller C compiler - Rugxulo, 11.11.2017, 06:51
- Smaller C compiler - Rugxulo, 12.11.2017, 01:39
- Smaller C compiler - alexfru, 12.11.2017, 12:07
- Smaller C compiler - alexfru, 12.11.2017, 12:16
- Smaller C compiler - alexfru, 12.11.2017, 12:07
- Smaller C compiler - Rugxulo, 22.11.2017, 06:43
- Smaller C compiler - alexfru, 22.11.2017, 07:58
- Smaller C compiler - alexfru, 22.11.2017, 08:22
- Smaller C compiler - alexfru, 22.11.2017, 09:34
- Smaller C compiler - alexfru, 23.11.2017, 10:20
- Smaller C compiler - Rugxulo, 26.11.2017, 13:43
- Smaller C compiler - alexfru, 27.11.2017, 03:10
- Smaller C compiler - Rugxulo, 28.11.2017, 13:49
- Smaller C compiler - alexfru, 28.11.2017, 18:03
- Smaller C compiler - Rugxulo, 28.11.2017, 13:49
- Smaller C compiler - alexfru, 27.11.2017, 03:10
- Smaller C compiler - alexfru, 22.11.2017, 07:58
- Smaller C compiler - alexfru, 23.11.2017, 20:31
- Smaller C compiler - alexfru, 28.11.2017, 23:47
- Smaller C compiler - Rugxulo, 30.11.2017, 18:43
- Smaller C compiler - alexfru, 03.12.2017, 03:47
- Smaller C compiler - roytam, 05.12.2017, 16:08
- Smaller C compiler - alexfru, 12.12.2017, 08:26
- Smaller C compiler - Rugxulo, 13.12.2017, 00:53
- Smaller C compiler - Rugxulo, 20.12.2017, 02:12
- Smaller C compiler - Rugxulo, 30.11.2017, 18:43
- Smaller C compiler - Rugxulo, 12.11.2017, 01:39
- Smaller C compiler - Rugxulo, 30.11.2017, 19:37
- Smaller C compiler - alexfru, 03.12.2017, 03:48
- Smaller C compiler - Rugxulo, 11.11.2017, 06:51
- Smaller C compiler - alexfru, 10.11.2017, 05:27
- Smaller C compiler - Rugxulo, 18.06.2017, 07:47
- Smaller C compiler - alexfru, 17.05.2017, 08:33
- Smaller C compiler - Rugxulo, 14.05.2017, 22:29
- Smaller C compiler - alexfru, 14.12.2016, 08:50
- Smaller C compiler - alexfru, 28.08.2016, 08:46
- Smaller C compiler - alexfru, 19.08.2016, 08:55
- Smaller C compiler - Rugxulo, 09.08.2016, 18:40
- Smaller C compiler - alexfru, 30.07.2016, 07:54
- Smaller C compiler - Rugxulo, 30.07.2016, 07:20
- Smaller C compiler - alexfru, 10.07.2016, 08:19
- Smaller C compiler - alexfru, 19.06.2016, 00:08
- Smaller C compiler - Rugxulo, 18.06.2016, 18:26
- Smaller C compiler - alexfru, 17.06.2016, 10:36
- Smaller C compiler - Rugxulo, 18.06.2016, 18:20
- Smaller C compiler - alexfru, 19.06.2016, 00:22
- Smaller C compiler - alexfru, 20.06.2016, 07:51
- Smaller C compiler - alexfru, 19.06.2016, 00:22
- Smaller C compiler - Rugxulo, 16.06.2016, 19:26
- Smaller C compiler - alexfru, 15.06.2016, 09:11
- Smaller C compiler - Rugxulo, 15.06.2016, 01:00
- Smaller C compiler - alexfru, 14.06.2016, 11:16
- Smaller C compiler - Rugxulo, 12.11.2015, 03:02
- Smaller C compiler - alexfru, 08.09.2015, 01:08
- Smaller C compiler - Rugxulo, 08.09.2015, 00:48
- Smaller C compiler - Rugxulo, 06.09.2015, 02:32
- Smaller C compiler - alexfru, 04.09.2015, 07:22
- Smaller C compiler - alexfru, 20.04.2015, 08:52
- Smaller C compiler - alexfru, 10.01.2015, 19:39
- Smaller C compiler - alexfru, 21.12.2014, 11:28
- Smaller C compiler - alexfru, 28.11.2014, 13:13
- Smaller C compiler - alexfru, 09.11.2014, 12:18
- Smaller C compiler - alexfru, 14.09.2014, 12:03
- Smaller C compiler - alexfru, 21.04.2014, 05:04
- Smaller C compiler - alexfru, 10.03.2014, 09:45
- Smaller C compiler - alexfru, 02.03.2014, 06:29
- Smaller C compiler - Oso2k, 19.02.2014, 18:46
- Smaller C compiler - RayeR, 19.02.2014, 01:15
- Smaller C compiler - alexfru, 19.02.2014, 05:33
- Smaller C compiler - roytam, 30.03.2015, 04:49
- Smaller C compiler - alexfru, 30.03.2015, 06:42
- Smaller C compiler - roytam, 02.04.2015, 02:01
- Smaller C compiler - alexfru, 02.04.2015, 10:08
- Smaller C compiler - roytam, 02.04.2015, 02:01
- Smaller C compiler - alexfru, 30.03.2015, 06:42
- Smaller C compiler - alexfru, 17.02.2014, 07:59
Mix view