Using C++ in GCC is OK

Duncan Sands baldrick@free.fr
Tue Jun 1 08:22:00 GMT 2010


On 01/06/10 10:03, Paolo Bonzini wrote:
> On 05/31/2010 12:30 PM, 徐持恒 wrote:
>> I think compiler can and should be host independent, like LLVM.
>
> It is. Changes to code generation depending on the host are considered
> to be serious bugs, and have been long before LLVM existed.

Perhaps 徐持恒 meant target independent, in the sense that with LLVM the choice
of target is made at run-time, and not when building LLVM [*].  Just a guess
though.

Ciao,

Duncan.

[*] It is possible to choose which targets to build when configuring LLVM.
If only one is chosen then of course that's the only one that can be chosen
at run-time.



More information about the Gcc mailing list