Mail Archives: djgpp/1996/04/03/10:58:08
I've been playing around with djgpp for some time now, and it links very
slowly. Its compilation seems to be fine. I wrote a brief program that
computes the nth Fibonacci number by using recursion (a favorite run
benchmark), just for the sake of illustration, and it compiles (with a -c
option producing only objects) quickly enough, finishing after approx-
imately 4 seconds, comparable to Watcom 9.0. It takes nearly 25 seconds to
compile and link an executable. That tells me that I'm probably spending
somewhere from 50-80 percent of my time just linking on projects of small
to medium size. Why?
I've heard whispers from message traffic here that there's a patch or
something for the linker, or the library routine the linker calls, or
something like that, that attempts to remedy this problem. The ld I use is
dated January 31, 1996. Is there another version?
-------------------------------------------------------------------------
University of the Philippines Rafael R. Sevilla
PABX/OVCA: Diliman Networking Project rsevilla AT sauron DOT upd DOT edu DOT ph
-------------------------------------------------------------------------
- Raw text -