[comp.sys.mac.programmer] Solving C++ Load/Dump

ml27192@uxa.cso.uiuc.edu (lanett mark) (03/06/91)

A number of people have had trouble with MacApp and C++ load/dump, namely,
getting the dump to be rebuilt for different build options. It turns out that
the load/dump build commands _are_ generated, but do not come _before_ the
compiles that depend on them in .makeIt. The solution is very simple, just
one line. Add this to your .MAMake file:

	{OtherLinkFiles} ff {CPlusLoad}

where ff is <option-f><option-f>. Make sure this line comes after the definition
of {OtherLinkFiles} in your .MAMake file.

MacApp's default rules make the 'magic' files dependant on {CPlusLoad} and so
the load/dump build commands are generated before any of _those_ files'
builds, but the other files do not have any such dependancy. I believe that
this line solves that problem. Of course, there is no documentation on this
(I had only one comment in all the scripts to go on to figure out that this
might do it), which seems to be about par for Apple. Let me know if this
doesn't do it in some case.

Incidentally, I have some MPW scripts that make the Directory menu "intelligent"
: choosing a dir puts up a menu of files in it, and choosing from here opens
the file. It also remembers which directories you like between restarts--no need
for DirectoryMenu. It's like SuperBoomerang, only better. Mail me if you're
interested and I'll send them off.
--
//-----------------------------------------------------------------------------
Mark Lanett						ml27192@uxa.cs.uiuc.edu
                                                     NCSA address: Coming soon!

ml27192@uxa.cso.uiuc.edu (lanett mark) (03/07/91)

ml27192@uxa.cso.uiuc.edu (myself) (lanett mark) writes:

>	{OtherLinkFiles} ff {CPlusLoad}

>where ff is <option-f><option-f>. Make sure this line comes after the definition

Of course I just started a compile on a different machine and make failed. You
might have to make that _one_ option-f.
--
//-----------------------------------------------------------------------------
Mark Lanett						ml27192@uxa.cs.uiuc.edu