C
Chris Mantoulidis
Out of curiosity, I wanted to test executable file sizes of the same
program from different compilers...
The 2 compilers I tested (both old, on purpose) were Borland C++ 3.1
and DJGPP 2.03...
The program was nothing but a simple hello world program using the
iostream header file...
I compiled and linked (both copies) with those 2 different
compilers... The Borland c++ 3.1 compiler gave me an executable with
size like 20-30KB (i don't remember) and DJGPP gave me an executable
with size like 220-240KB...
I can assume 2 things here... Either DJGPP produces WAY more
compicated executables (kind of odd though) or DJGPP's header files
contain kinda different info....
Anyone seen anything like that? Anyone know why?
program from different compilers...
The 2 compilers I tested (both old, on purpose) were Borland C++ 3.1
and DJGPP 2.03...
The program was nothing but a simple hello world program using the
iostream header file...
I compiled and linked (both copies) with those 2 different
compilers... The Borland c++ 3.1 compiler gave me an executable with
size like 20-30KB (i don't remember) and DJGPP gave me an executable
with size like 220-240KB...
I can assume 2 things here... Either DJGPP produces WAY more
compicated executables (kind of odd though) or DJGPP's header files
contain kinda different info....
Anyone seen anything like that? Anyone know why?