Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!unisoft!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: MPW Pascal precompilation Message-ID: <12631@hoptoad.uucp> Date: 2 Oct 90 19:52:22 GMT Organization: Electronics for Imaging, San Bruno CA Lines: 21 I've started doing some work in MPW Pascal, and I was wondering how I should manage the strange header-precompilation scheme. It seems as if the only way to avoid constant rebuilding of the headers (as shown by the Pascal progress information) is to always include exactly the same files in exactly the same order. This is obviously impossible for any project of significant size and circular reference. What's more, because of build-order considerations, sometimes a file will not compile because of missing units, whereas it did build earlier provided it came after another file whose unit list somewhow caused the missing unit to be included in another file's precompiled header. How do others deal with optimizing the precompiled headers? -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com "He goes on about the wailing and gnashing of teeth. It comes in one verse after another, and it is quite manifest to the reader that there is a certain pleasure in contemplating the wailing and gnashing of teeth, or else it would not occur so often." -- Bertrand Russell, "Why I Am Not a Christian"