Is there any open source c/c++ compilers what can be debugged easily? I wanna know more info about the common knowladge about c/c++ compilers.
panpanf
0
Newbie Poster
Recommended Answers
Jump to PostThere are plenty of open source C/C++ compilers. They are fairly complex bits of code, so the notion of "debugged easily" depends on your notion of what is "easy". However, the information on how they work is well documented.
If you want to debug compilers, and you have skills …
Jump to PostThe key parts of most compilers are written in C itself, or in ASM.
The open compilers are well documented, but compilers are generally very complex indeed.
Jump to Postfrom my computer science book;
…The first compilers were written in assembly language as building a self-hosting compiler is a bootstrapping problem
Since the 1970s it has become common practice to implement a compiler in the language it compiles and C has historically been a popular choice of implementation language.
All 12 Replies
grumpier
149
Posting Whiz in Training
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
shrughes
19
Light Poster
jbennet
commented:
a) dont curse and b) dont speak bullshit yourself
-6
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
kux
55
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
dmanw100
36
Posting Whiz in Training
panpanf
0
Newbie Poster
panpanf
0
Newbie Poster
shrughes
19
Light Poster
chococrack
commented:
I agree; disagree that you get negative rep for bullshit.
+1
dmanw100
36
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.