For example, during development an application boots from /remote. If artwork is located in $boot/art.... , the program should refer to those files as art/.... During development, the pathname is then resolved to /remote/art since the program booted from /remote.
A title should use $boot and other aliases explicitly only in cases where an absolute path is needed because the program would not know how to resolve a relative pathname. Generally, all programs should be able to resolve a relative pathname, with the current location being the point from which the program was entered.
Warning: Never use /remote in a pathname; it won't be available on an end-user machine.
Hints on Error Checking and Other Advice
Here are some common problems and advice on how to avoid them:
NULL
.
printf()
statements in your program statements are displayed in the Debugger
Terminal window when you run the application in Debugger mode. The
printf()
statements are dropped when you run in stand-alone mode.
Note: Once you have generated a clean cdrom.image file,
eliminate the printf()
statements for a slightly more
efficient title.