N
none
I have a fairly large C++ template application that include a large number of header files from the
itk library. CMake is use to generate makefiles.
But when I run 'make' it takes around a minute or more to compile the application (the final
executable is around 6 MB) on Ubuntu 9.10 on a 3 GHz Intel Core 2 Duo 8400 CPU and 6 GB RAM.
When I compile the same program (using the same CMakeFile) in windows vista using Visual Studio 2008
it takes under ½ the time (approx 20 sec.).
Any ideas why its faster to compile on windows (do the visual studio compiler use some optimizations)?
When the build is made using CMake 'release' is choosen for both the linux build and the windows build.
itk library. CMake is use to generate makefiles.
But when I run 'make' it takes around a minute or more to compile the application (the final
executable is around 6 MB) on Ubuntu 9.10 on a 3 GHz Intel Core 2 Duo 8400 CPU and 6 GB RAM.
When I compile the same program (using the same CMakeFile) in windows vista using Visual Studio 2008
it takes under ½ the time (approx 20 sec.).
Any ideas why its faster to compile on windows (do the visual studio compiler use some optimizations)?
When the build is made using CMake 'release' is choosen for both the linux build and the windows build.