Re: Linking on Mac

From: [at]} <gruntz{>
Date: Mon, 7 Dec 1998 16:40:08 +0100

>(6) Executed the following script:
>
>DevLinker.Link "Pep6.1"
>+ Kernel Pep6Dispatch > Kernel
>
>and got a long list on the Log of modules linked, with final
>message "Done." The Pep6.1 application is now 1.1 MByte, which
>seems reasonable.
The linker has now included all modules which are directly or
indirectly imported by Pep6Dispatch. Unfortunately, this is
not enough. Some modules contain procedure variables (hooks)
into which other modules install their concrete implementations.
If you link a BlackBox application, you have to add the modules
containing the concrete implementations to your link command
as well. If you do not specify the necessary modules, the hook
procedures will not be installed and their value remains NIL which
could have caused the crash you reported.
The easiest way to specify the necessary modules is to add the
module Init to them list of modules to be linked (cf. the Patterns
example in the on-line Docu of MacBlackBox):

DevLinker.Link "Pep6.1"
+ Kernel Init StdCmds Pep6Dispatch Config > Kernel



Hope, this helps.

Best wishes,

- Dominik Gruntz, Oberon microsystems AG, Switzerland
Received on Mon Dec 07 1998 - 17:10:30 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:42 UTC