ADC Home > Reference Library > Technical Notes > Legacy Documents > Tools >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
MacBrowse and building or editing 411 filesDate Written: 1/26/93 Last reviewed: 6/14/93 We'd like to add documentation to the Documentation part of MacBrowse for our application. Is this possible and if so how? I've noticed that MacBrowse reads 411 files. How can I create a 411 index file?
MacBrowse will allow you to create but not edit your 411 files. Build your own
411 file by parsing your source files then using the SaveAs Text option in
MacBrowse. The dialog box will have an option to save as 411. This will create
a 411 file with stubs; then fill in the stubs using MPW or any text editor. The
next time you open MacBrowse it will build the index file for your 411 file.
For more information on the tags used in 411 files see the OBJECT MASTER also has support for creating and editing 411 files. This product is available from Acius. Choice of C or Pascal language for Macintosh developmentDate Written: 5/28/90 Last reviewed: 5/28/90 Should I use C or Pascal for Macintosh development? Which language is better? Which development system should I use? Asking MacDTS which language is better is like asking the Rolling Stones what their favorite song is: the answer depends on whom you ask and the mood they are in. Use the language that you are most comfortable with. MacDTS engineers use both C and Pascal. Both languages have advantages and disadvantages. Many people complain that C is terse and unreadable. Others say that Pascal is too verbose, and that its lack of knowledge about the machine can make programming awkward. There are many good development systems. MPW is powerful and extensible, but it requires a lot of hardware to run efficiently. Both Think(TM) languages (from Symantec) are fast and easy to use, but they aren't extensible at all. There are also good languages from other vendors, including Semper Software(TM) Modula-2, Language Systems(TM)Fortran, MicroSoft(TM) and Zedcor(TM) BASIC, and Allegro Common Lisp from Apple (formerly from Coral Software). Officially, Apple doesn't recommend any particular language or development system. Installing MPW 3.0Date Written: 1/1/90 Last reviewed: 6/14/93 The MPW installer is reporting that it can't find the "DoIt" script. What is wrong and how can I properly install MPW? The problems installing MPW 3.0 could be due to a limitation of the installation script--that is, using the Installer we provide will not work if there are single or double quotes, or other special characters, in the full pathname of the destination folder. This is noted in the MPW manual under "Getting Started." The solution is to either install MPW by hand (not hard unless you've never done it before and don't know where everything goes), or to rename your hard disk with a simpler name. Since most of MPW complaints occur when your hard disk's name has an apostrophe in it, I would suggest the latter method. Another possible problem is caused by a bug in some third-party 'INIT's that cause the MPW installer to fail. This bug is caused by those 'INIT's using PBHSetVol and changing the default volume behind MPW's back. This problem is frequently reported by users with TOPS (from TOPS, a Sun Microsystems company).
Some 'INIT's use Not only do these 'INIT's interfere with the installer they can also interfere with other MPW operations, most commonly when MPW tries to access a script in your current directory or a tool tries to open a script in the current directory. To work around the installer problem, you can:
Any 'INIT' that uses Directory can't be prerequisiteFile in an MPW dependency ruleDate Written: 1/28/91 Last reviewed: 6/14/93 We are working on a project with MPW. Is there a way to set up our makefile for the main project so that it is dependent on the source files from the library (already constructed), not the object file produced by running lib? Is there a way to refer to a directory (rather than a file) as a prerequisiteFile in a dependency rule? That's a great suggestion, but unfortunately it isn't possible (at this time) to have a directory as a dependency. I will definitely forward the suggestion along to the appropriate people. Window-splitting resource format for MPW 3.2Date Written: 7/29/91 Last reviewed: 6/14/93
The Macintosh window-splitting resource The Header:
Each Element:
The last element in the array is a null element with Script for finding Macintosh modify-read-only filesDate Written: 3/17/92 Last reviewed: 6/14/93
How can I tell if a given file (with projector ckid) has been This is a script to find out where modify-read-only (or modifiable) files are . The files that are modify-read-only have a "*" after the revision number; the modifiable files have a "+" after the revision number.
MPW 3.0 max global data size is >32K, max local data still 32KDate Written: 1/1/90 Last reviewed: 12/17/90 Is the maximum size for global and local data still 32K? Starting with MPW 3.0, the maximum size for global data in MPW became larger than 32K, using compiler and linker options -m and -srt. Local data is tougher, because local data is allocated by using the LINK instruction--for example, LINK A6,#$-380. With this relative addressing mode, you're constrained to the negative side of a 16-bit value for local space, which translates to 32K. In other words, this limit is basically due to the Motorola processor architecture. If you are allocating more than 32K either globally or locally, you might want to rearchitect your system to use dynamic (and theoretically unbounded, especially on virtual architectures) storage space. Calling/linking external routinesDate Written: 4/25/89 Last reviewed: 6/14/93 I'm trying to call external routines, written in assembler or some high-level language, from my C program, but the linker complains that my procedure is not defined anywhere. How can I make it accessible from C?
C is case sensitive, while some other languages, notably Pascal, are not.
Pascal generates an all uppercase symbol names for any of your procedures. (For
example, In C, if you are declaring a C routine, the name is case sensitive, For example:
requires an entry point named The assembler can be either case sensitive or case insensitive. Use the directive to make the assembler case sensitive like C. Make sure your assembler routines match their expected usage. If all else fails, you can use the linker -ma option to remap entry point names to satisfy unresolved references. Downloadables
|
|