TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
First C compiler ported to GCC
137 points
by
vegesm
about 4 years ago
5 comments
ggm
about 4 years ago
Collapse
The<p><pre><code> a[b] implemented as *(a+b) </code></pre> Thing, is how we were taught to think about array indexing in the CS lectures of the 70s
评论 #26722154 未加载
评论 #26721723 未加载
评论 #26722788 未加载
评论 #26723185 未加载
评论 #26721975 未加载
burstmode
about 4 years ago
Collapse
Did this compiler really support "auto" as a variable type, as seen in example fizzbuzz ?
评论 #26721250 未加载
评论 #26721232 未加载
评论 #26721244 未加载
评论 #26721238 未加载
评论 #26725272 未加载
评论 #26721243 未加载
Taniwha
about 4 years ago
Collapse
"The compiler runs only in 32 bit mode as the original code assumes that the pointer size and word size are the same." ... which was um, 16-bits
评论 #26721393 未加载
评论 #26721389 未加载
29athrowaway
about 4 years ago
Collapse
If the first C compiler was written in C... how could it be first C compiler? How could you compile the first C compiler?
评论 #26721344 未加载
评论 #26721729 未加载
评论 #26721386 未加载
评论 #26725283 未加载
评论 #26735447 未加载
评论 #26721427 未加载
评论 #26721374 未加载
polska
about 4 years ago
Collapse
I do not understand why we should create a C compiler ported to GCC.
评论 #26722985 未加载