[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with units in ORCA/Pascal



I tried posting this a week ago, but I don't think it got out. Forgive me if
you've seen this before:
--
Howdy. I recently split up a huge source file I'm working on into several
units to make my life easier. Unfortunately I can't seem to link my main
program with the units. The linker always spits out a "Code exceeds code bank
size" error. This despite the fact that I've literally _peppered_ the units
and the main program with $segment directives. Oh yeah, and I'm using the
large memory model too.

Why would I be getting code bank size errors when I'm using so many $segment
directives?! I'm baffled by this one. The funny thing is, when the code was
in one huge source file it only took two $segments to make it work properly.
Now, no matter how many I add it just won't link.

Anybody have any ideas why? Any suggestions would be appreciated.
-- 
Jason A. Gibb
jgibb@reed.edu                              I have no .sig - wanna donate one?