Article View: net.lang.mod2
Article #538Re: DECWRL Modula-2 intermodule checking
From: Michael L. Powell
Date: Tue, 30 Sep 1986 01:34
Date: Tue, 30 Sep 1986 01:34
25 lines
1803 bytes
1803 bytes
The DECWRL Modula-2 compiler does indeed do intermodule type checking. Of
course, you may have discovered a case where it doesn't work correctly (i.e.,
a bug). The intermodule checker is invoked just before linking the program.
It runs over the object modules and checks for inconsistencies. Optionally,
if it finds any problems, it will recompile the appropriate modules. I have
heard about problems with the intermodule checker recompiling too many modules
but not with it recompiling too few.
Note: As distributed, by default, the mod command links without checking. If
you want intermodule checking, you must specify either the -m or -M flag on the
mod command you use to link your program (see the mod manual page for details).
If you want checking to be the default at your installation, simply change the
mod command.
If you did invoke the intermodule checker and it didn't find the inconsistency,
I'd appreciate hearing more details at the address below.
Michael L. Powell
Digital Equipment Corporation
Western Research Laboratory
100 Hamilton Ave
Palo Alto, CA 94301
{decvax,ucbvax}!decwrl!powell
powell@decwrl.dec.com
powell@decwrl.arpa
Technical Details
Message-ID:
<5629@decwrl.DEC.COM>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!pyramid!decwrl!powellReferences:
<308@brand.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!qantel!lll-lcc!pyramid!decwrl!powell From: powell@decwrl.DEC.COM (Michael L. Powell) Newsgroups: net.lang.mod2 Subject: Re: DECWRL Modula-2 intermodule checking Message-ID: <5629@decwrl.DEC.COM> Date: Mon, 29-Sep-86 21:34:08 EDT Article-I.D.: decwrl.5629 Posted: Mon Sep 29 21:34:08 1986 Date-Received: Wed, 1-Oct-86 02:14:46 EDT References: <308@brand.UUCP> Distribution: net Organization: Digital Equipment Corp., Palo Alto, CA Lines: 25 Keywords: DECWRL Modula-2 Powell