#: 17930 S12/OS9/68000 (OSK)
18-Apr-93 03:58:43
Sb: #linking
Fm: LARRY OLSON 72227,3467
To: Bill Dickhaus 70325,523 (X)
Bill,
Just to let you know, I finally figured out how to break these C programs up
and link them later. I was pulling my hair out for the last couple of days,
with all these errors. I could not figure out what the
problem was. As a last resort, I pulled out the Kernigham & Ritchie book, and
there it was. I had defined all the global variables in the main module, as
STATIC. Somewhere I had gotten the idea that variables defined outside a
function, and defined as static, were global. Static & Extern, just don't mix.
So now I can get back to finishing this program up, without worrying about
bumping into that 64k limit,(hopefully).
larry
There is 1 Reply.
|