Mail Archives: djgpp/1998/03/28/15:16:23
From: | James W Sager Iii <sager+@andrew.cmu.edu>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Dumb question that can be answered with a yes or no.
|
Date: | Sat, 28 Mar 1998 12:51:28 -0500
|
Organization: | Junior, MCS Undeclared, Carnegie Mellon, Pittsburgh, PA
|
Lines: | 20
|
Message-ID: | <4p7HWUS00WB=0A0kU0@andrew.cmu.edu>
|
NNTP-Posting-Host: | andrew.cmu.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Ok... I was able to speed my compile time earlier with the help of this
newsgroup. I have realized that as my program compiles faster
I program quicker. But as I program more code, my compile time
lengthens, and I eventually hit an asymptotical point where it
takes forever for me to get anything done...
My program is 110k+ and it takes a while to compile. Most of it doesn't
change per re-use though. I was wondering if I could parts of it
into objects. I tries this on my own for about 8 hours with little
sucess. I got a few minor things to run, but when I tried to 'objectify'
my massive amount of code, it gave me errors that looked something like
: Repeated code found in line such and such. This error isn't exact,
but its been a couple days since I tried it. Now I sincerely need
a speed boost, and I was wondering. If the objects are per-compiled,
would this speed up the time it takes me to compile and
test an executable. Sorry for the mega newbie question.
I just normally put all my code in one file.. but that isn't cutting
it... This sounds dumb, but I really have a small clue about how
objects work... Does the compiler make objects, and then the linker
puts them together?
- Raw text -