Path: utzoo!dciem!nrcaer!cunews!cognos!alb From: alb@cognos.UUCP (Al Belyea) Newsgroups: comp.sys.apple2 Subject: Re: LinkIIGS problem Message-ID: <8973@cognos.UUCP> Date: 25 Oct 90 14:47:58 GMT References: <1534@kluge.fiu.edu> Reply-To: alb@cognos.UUCP (Al Belyea) Organization: Cognos Inc., Ottawa, Canada Lines: 27 In article <1534@kluge.fiu.edu> acmfiu@serss0.fiu.edu (ACMFIU) writes: >The following is a link script I have for a program I have in Orca/C. When >I try to link it and LinkIIGS gets to linking in the 'main.a(@~ARRAYS)', >the computer crashes. The program is compiled with the large memorymodel. >Can anyone help? > ` Wow! that's one big program you got going there. An immediate problem that I noticed is that your statements main.a, arithmetic.a, etc. occurred BEFORE the main.a(@~GLOBALS), arithmetic.a(@~GLOBALS) etc. statements. Just using arithmetic.a is telling LINKIIGS to put all object segments found in arithmetic.a into their default load segments. What you want to do is specify the ~GLOBALS statements first, then do your other segments. Why it crashes I don't know - it shouldn't. Also I do know that there's a bug in the JOIN tool (that LINKIIGS and CRUNCHIIGS both use), but I don't know if that would be causing your problem. -- Allan Belyea UUCP: 3755 Riverside Dr. Cognos Incorporated alb@cognos P.O. Box 9707 (613) 738-1338 x3822 uunet!mitel!cunews!cognos!alb Ottawa, Ontario "... when in a Desparate situation, challenge." Sun Tzu CANADA K1G 3Z4