View Single Post
Old Nov 12th, 2004, 1:33 PM   #7
lostcauz
Hobbyist Programmer
 
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5 lostcauz is on a distinguished road
With this code using win98:
#include <iostream>
using namespace std;

int main()
{
  cout << "hello world\n";
  return 0;
}
Compiled with MingW using
g++ -o big big.cpp
gave me an executable of 438kb
Using different switches to first convert to asm then compile
g++ -s big.cpp -o big2
gave me 206kb
I'm not sure if this can be reduced further other than switching to C.
__________________
-- lostcauz

Stepped in what?...
Behind whose barn?...
I didn't even know they had a cow!
lostcauz is offline   Reply With Quote