This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc and g++ producing large executables


Hi,

When i compile the following program using g++ (gcc version 2.95.1
19990818 (release)), the executable size is 855 kb. My OS is HP-UX
11.00. Besides using the strip command, is there anyway that i can
reduce the size of the executable? The following is the program that
produces a 855kb executable:

#include<iostream.h>

int main()
{
  cout << "Hello World!" << endl;
  return 0;
}


I have tried posting to news groups, writing to hp, checking on irc
channels, yet no one can provide a solution to this problem. Please
advise.

Thank you very much.
jas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]