Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.cpm » Microsoft Linker L80 Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Microsoft Linker L80 Question [message #112347] Mon, 16 September 2013 13:43 Go to next message
ddd is currently offline  ddd
Messages: 3
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <740@hou2h.UUCP>
Date: Mon, 14-Jan-85 14:37:24 EST
Article-I.D.: hou2h.740
Posted: Mon Jan 14 14:37:24 1985
Date-Received: Tue, 15-Jan-85 01:56:13 EST
Organization: AT&T Bell Labs, Holmdel NJ
Lines: 15

Is anyone else having difficulty with Microsoft's Linker L80 when using
the search mode, that is, with a /s at the end of the file to be searched?
I am presently trying to use the linker with the C library of SmallC v2.1.
If I link the entire library with the compiled program, the resulting code
works just fine, but of course, I end up with a rather large program.  When
using the search mode, I get error messages that indicate that the linker
has not found certain modules of code.  What is a little confusing is that 
the modules that it is trying to link are not required by the compiled code
but are definitely present in the library.

Any suggestions would be appreciated.
Thanks for any replies.

					Dan Dubosky
					hou2h!ddd
Re: Microsoft Linker L80 Question [message #112381 is a reply to message #112347] Mon, 16 September 2013 13:43 Go to previous messageGo to next message
Andrew[1][2][3][4] is currently offline  Andrew[1][2][3][4]
Messages: 40
Registered: March 2013
Karma: 0
Member
Message-ID: <1310@orca.UUCP>
Date: Thu, 17-Jan-85 22:37:21 EST
Article-I.D.: orca.1310
Posted: Thu Jan 17 22:37:21 1985
Date-Received: Sun, 20-Jan-85 01:45:48 EST
References: <740@hou2h.UUCP>
Organization: Tektronix, Wilsonville OR
Lines: 22

[]

	"Is anyone else having difficulty with Microsoft's Linker L80
	when using the search mode, that is, with a /s at the end of
	the file to be searched?"

There's a bug in L80.  When searching a library, it encounters a
module, and begins passing over the symbols to see if any are needed.
If it passes over a COMMON block, then comes to an symbol which is
needed, it gets a fatal system error in trying to back up to the
beginning of the module and begin loading.

This prevents inclusion of output from the Aztec C compiler in
libraries.  A work-around is to edit the assembly output from the
compiler and move all the common blocks to the end of the file.

I submitted a bug report to Microsoft two years ago, and received
acknowledgement, but to my knowledge they have never fixed this.
CP/M-80 is dead, don't you know ...

  -- Andrew Klossner   (decvax!tektronix!orca!andrew)       [UUCP]
                       (orca!andrew.tektronix@csnet-relay)  [ARPA]
Re: Microsoft Linker L80 Question [message #113892 is a reply to message #112347] Tue, 17 September 2013 14:58 Go to previous messageGo to next message
mpackard is currently offline  mpackard
Messages: 13
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <4800009@uok.UUCP>
Date: Sun, 20-Jan-85 13:38:00 EST
Article-I.D.: uok.4800009
Posted: Sun Jan 20 13:38:00 1985
Date-Received: Wed, 23-Jan-85 05:03:49 EST
References: <740@hou2h.UUCP>
Lines: 9
Nf-ID: #R:hou2h:-74000:uok:4800009:000:427
Nf-From: uok!mpackard    Jan 20 12:38:00 1985

+
This wonderful piece of software has 10 pages of documentation!
I believe the problem is in the order of your modules.  I am just
guessing but this happened to me once, so I ordered the modules
so the linker doesn't have to back-up.  If a function in one module
calls a function in another module, the caller must come before the
called function.   Good luck, you'll need it.
{allegra,ihnp4}!convex!ctvax!uokvax!uok!mpackard
Re: Microsoft Linker L80 Question [message #113922 is a reply to message #112347] Tue, 17 September 2013 14:58 Go to previous message
howard is currently offline  howard
Messages: 29
Registered: March 2013
Karma: 0
Junior Member
Message-ID: <490@cyb-eng.UUCP>
Date: Tue, 22-Jan-85 11:58:15 EST
Article-I.D.: cyb-eng.490
Posted: Tue Jan 22 11:58:15 1985
Date-Received: Sat, 26-Jan-85 10:31:16 EST
References: <740@hou2h.UUCP> <1310@orca.UUCP>
Organization: Cyb Systems, Austin, TX
Lines: 11

 >  There's a bug in L80.  When searching a library, it encounters a
 >  module, and begins passing over the symbols to see if any are needed.
 >  If it passes over a COMMON block, then comes to an symbol which is
 >  needed, it gets a fatal system error in trying to back up to the
 >  beginning of the module and begin loading.

I purchased Microsoft's M80/L80 assembler package 2-3 months ago and
the problem you mentioned about COMMON blocks is still there.
-- 
	Howard Johnson		Cyb Systems, Austin, TX
..!{gatech,harvard,ihnp4,nbires,noao,seismo}!ut-sally!cyb-eng!howard
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Unix for CP/M 2.1 or > on a z80
Next Topic: MBASIC on APPLICARD
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Jan 18 16:41:25 EST 2022

Total time taken to generate the page: 0.02260 seconds