LWN.net Logo

Problems: Fewer alternative C++ compilers, so harder to test against 'Trusting Trust' attack

Problems: Fewer alternative C++ compilers, so harder to test against 'Trusting Trust' attack

Posted Jun 18, 2008 19:19 UTC (Wed) by willy (subscriber, #9762)
In reply to: Problems: Fewer alternative C++ compilers, so harder to test against 'Trusting Trust' attack by pynm0001
Parent article: Converting GCC to C++

> Can an ANSI C compiler build gcc?

Yes.  Indeed, until a few years ago, GCC could be compiled with pre-ANSI compilers.
Thankfully, functions now have prototypes.

On the trusting trust issue, there's nothing to stop you starting with your own trusted C
compiler, compiling gcc/g++ 4.3, then using those to compile gcc/g++ 5.0.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds