Mail Archives: djgpp/1997/10/28/13:47:09
Elliott Oti wrote:
> IMO an important bottleneck in the speed of gcc is the fact that the
> preprocessor, compiler, assembler and linker are all separate programs
> that communicate via temp. files, making disk IO speed the bottleneck.
This is definately NOT a gcc bottleneck.
It is a DJGPP bottleneck.
Gcc on a proper OS (read: UNIX) supports the -pipe flag.
Check out the gcc man pages.
With this option, a preprocessor, compiler, assembler, linkerloader are
all started simultaneously, and communicate with IPC (pipes).
This is especially a very cool option to use if you have a
machine, and enough ram.
I used to compile my sources with DJGPP.
Now I crosscompile them from Linux, WITH the -pipe flag.
Together with the much better filesystem linux has, my
compilation times have almost vanished :-)
- Raw text -