Compilation speed with GCC (Developers)
> 1). "-O0" (or -O2 instead of -O3) [older -O2 is as fast as newer's -O0)
BAD. The time you're saving compiling is not worth all the time lost in an application that is now not optimized at all. Use -O2, not -O3, which may cause instability.
> 2). older version (e.g. 2.95.3 or 3.4.4) [old is always less standard
> compliant, e.g. no decent C99 support]
These compilers may also contain bugs, while rare.
> 4). run without too many background services, processes, etc. (pure DOS?
Multitasking OSes are better at compiling.
> 15). DOSBox (not optimal): turn up frameskip very high
> - don't need it when all you're using is cmdline apps !
> - you need multi-Ghz in order to emulate a 486, so this is quite
> slow!
BAD. Avoid compiling in emulators, especially buggy ones :p
> 18). use MinGW's "make -j2" under Win32 (but somewhat incompatible syntax
This is partially what I was referring to with my response to #4.
Complete thread:
- Compilation speed with GCC - Rugxulo, 20.06.2008, 00:17 (Developers)
- Compilation speed with GCC - DOS386, 20.06.2008, 09:38
- Compilation speed with GCC - RayeR, 20.06.2008, 12:34
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:23
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:04
- Compilation speed with GCC - Japheth, 21.06.2008, 09:06
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:04
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:23
- Compilation speed with GCC - RayeR, 20.06.2008, 12:34
- Compilation speed with GCC - sol, 20.06.2008, 17:36
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:28
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:09
- Compilation speed with GCC - sol, 21.06.2008, 01:22
- Compilation speed with GCC - Rugxulo, 21.06.2008, 07:44
- Compilation speed with GCC - marcov, 21.06.2008, 14:07
- Compilation speed with GCC - sol, 21.06.2008, 01:22
- Compilation speed with GCC - marcov, 21.06.2008, 14:03
- Compilation speed with GCC - marcov, 21.06.2008, 14:10
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:16
- Compilation speed with GCC - marcov, 22.06.2008, 11:39
- Compilation speed with GCC - Rugxulo, 24.06.2008, 01:29
- Compilation speed with GCC - sol, 24.06.2008, 01:42
- Compilation speed with GCC - Rugxulo, 24.06.2008, 03:34
- Compilation speed with GCC - marcov, 24.06.2008, 09:27
- Compilation speed with GCC - Rugxulo, 24.06.2008, 01:29
- Compilation speed with GCC - marcov, 22.06.2008, 11:39
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:16
- Compilation speed with GCC - marcov, 21.06.2008, 14:13
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:06
- Compilation speed with GCC - marcov, 22.06.2008, 11:46
- Compilation speed with GCC - Rugxulo, 06.07.2008, 17:18
- Compilation speed with GCC - marcov, 09.07.2008, 18:11
- Compilation speed with GCC - Rugxulo, 06.07.2008, 17:18
- Compilation speed with GCC - marcov, 22.06.2008, 11:46
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:06
- Compilation speed with GCC - Rugxulo, 09.09.2008, 22:16
- Compilation speed with GCC - DOS386, 20.06.2008, 09:38