Installing CrossPack for AVR Development

CrossPack for AVR Development comes as a Mac OS X installer package. Simply double-click CrossPack-AVR.pkg to install. Please restart Terminal after installation to make sure that it inherits the new set of environment variables. The installer adds a component to the PATH environment variable in the files /etc/profile and /etc/csh.login.

CrossPack for AVR Development does not include a text editor for editing source files. If you have Xcode already installed (e.g. because you also need to develop software for the Mac), simply use Xcode to edit your sources. TextEdit is not well suited for source file editing because it can't jump to a given line number and the indentation size can't be configured. We recommend BareBone's TextWrangler instead. TextWrangler is free.

Upgrading

CrossPack for AVR Development installs into /usr/local/CrossPack-AVR-<version> and /usr/local/CrossPack-AVR is always a symbolic link to the version which has been installed last. Several versions of CrossPack for AVR Development can therefore coexist. If you want only one version, remove the old installation before installing the new package, or delete it any time later from /usr/local/:
Shell Session:
bash$ cd /usr/local/ bash$ ls -ld CrossPack-AVR* lrwxr-xr-x 1 root wheel 19 Dec 1 18:04 CrossPack-AVR -> CrossPack-AVR-20071201 drwxr-xr-x 15 root wheel 568 Nov 26 22:12 CrossPack-AVR-20071126 drwxr-xr-x 18 root wheel 612 Dec 1 18:04 CrossPack-AVR-20071201 bash$ sudo rm -rf CrossPack-AVR-20071126 Password:

Removing CrossPack for AVR Development

To remove CrossPack for AVR Development, run the following command in a Terminal window:
Shell Session:
bash$ sudo /usr/local/CrossPack-AVR/uninstall Password: Are you sure you want to uninstall CrossPack for AVR Development 20100115? [y/N] yes Starting uninstall. CrossPack for AVR Development is now removed.