Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Compilation speed with GCC (Developers)

posted by sol, 20.06.2008, 17:36

> 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:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 275 users online (0 registered, 275 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum