tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building with C89 host compiler



On Mon, Jan 5, 2015 at 2:19 PM, Kamil Rytarowski <n54%gmx.com@localhost> wrote:
> Justin Cormack wrote:
>> We should add a note about the requirement for long long support.
>>
> Well next to long long at least: inline, booleans, designated
> initializers, VLA, variadic macros...
>
> C99 is a part of a POSIX system [1].
>
> I see no problem in bootstrapping tools from a K&R compiler and
> user-land... but cutting language features in the base system is not
> what I would like to see... when there is room for C11 features to
> be used for the sake of being compiler features dependencies lighter.
>
> [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html

Yes, there is no reason why bootstrap from K&R shouldn't be a
separately documented process if it is worthwhile, it is doable but
somewhat tedious by bootstrapping an older gcc. Given cross compile
support I am not sure it is that useful now.

Justin


Home | Main Index | Thread Index | Old Index