wxMSW compilers : Compile times and file sizes with wxWindows 2.4


Running with wxWindows CVS Head from about 18 June 03 I built the wxMSW library and two programs to provide comparative data on file sizes and build times for the compilers I have available:
 
I built the static wxMSW library, wxWindows own minimal sample and wxHatch (a program of resonable complexity). With wxHatch, I then forced a rebuild of the second largest file and relinked. I have also shown the saving between debug and release builds. Note that gcc and watcom provide strip utilites to reduce te size of the exe file

Times

 

Time in hr:min:s

Borland 5.5 (free)

Open Watcom 1.0 (free)

Gcc 3.2 (makefile.g95; free)

Gcc 3.2 (configure)

Visual C 6

Digital Mars


configure

N/A

N/A

N/A

0:02:28

N/A

N/A


make library

0:02:00

0:07:19

0:18:45

0:19:30

0:02:51

0:01:32


make wxhatch

0:00:23

0:01:08

0:03:01

0:03:32

0:01:03

0:00:13


rebuild 1 file & relink

0:00:01

0:00:33

0:01:33

0:01:48

0:00:04

0:00:02


Sizes

 

Size is in Mbytes

Borland 5.5 (free)

Open Watcom 1.0 (free)

Gcc 3.2 (makefile.g95; free)

Gcc 3.2 (configure)

Visual C 6

Digital Mars

 

Library size

25

75

154

171

23.9

7

Minimal

debug

1.7

1.5

1.3

2

1.5

1.4


before strip

N/A

19.7

21

34

N/A

N/A


release

1.6

1

1.7

2

0.5


wxhatch

debug

3.4

3.2

3.1

4.5

3.5

3.2


before strip

N/A

33

35

37

N/A

N/A


release

3.3

2.3

2.8

4.4

1.4