[gtkmm] precompiled headers
- From: Cristian Adam <drac gmx net>
- To: gtkmm-list gnome org
- Subject: [gtkmm] precompiled headers
- Date: Wed, 21 Jul 2004 14:19:54 +0300
Hi all,
I have tested the classic hello world program using the new gcc 3.4
precompiled headers and... it was 4 times faster! Precompiled headers
rule! :)
#ifdef USE_PCH
#include <bits/stdc++.h>
#else
#include <iostream>
#endif
int main()
{
std::cout << "Hello World\n";
}
The compile line was: time g++ -o hello hello.cc -DUSE_PCH
Cheers,
Cristi.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]