Developer Tools on MacOS X

Apple's Standard Developer Tools

It's nice to have a developer Tools CD image (Dec2002DevTools) distributed by Apple. You should install them for sure.

As of MacOS X Release 10.2, the default gcc compiler becomes gcc3.1-based. Among many changes caused by this, there is one that seems to be a bug: if you try to give an "install_name", LINUX's SONAME equivalent, to your dynamically loadable module (a bundle), the linker complains. If this happens, remove:

-install-name <soname>
from the LDFALGS given to your link command.

Bash

I prefer bash to tcsh. Apple now distributes bash as a part of its system standard command set and
uses it as "/bin/sh" (it was linked to /bin/zsh before). I thus eliminated the bash package from the distribution.

Caution:
If you just try to uninstall "bash" from your old installation by typing "rpm -e bash", you will lose the system standard one. In order to eliminate bash package from your old 10.1 installation, do the following:

# cp -p /bin/bash /bin/bash.ORIG
# rpm -e bash
# mv /bin/bash.ORIG /bin/bash
From now on, I am going to use bash uless otherwise stated.

Libcompat

# rpm -ivh <somewhere>/Libcompat-14.1-2b.ppc.rpm

Libstreams

# rpm -ivh <somewhere>/Libstreams-23-1b.ppc.rpm


Back to Keisuke Fujii's HEP on X Page
keisuke.fujii@kek.jp October 16, 2002