You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

<html>
<head><title>SDF $HOME/bin awareness</title></head>
<body>
<p>SDF will be using both amd64 and alpha architectures for the next several
years, and other CPU types may be added as well. Those who have their own
compiled binaries in their home directory are advised to make two separate bin
directories, one for alpha, one for amd64, and to populate them with programs
compiled on the respective architectures. You can then use '<tt>uname -m</tt>'
to determine the CPU type of your current host when logging in and update your
$PATH appropriately.</p>
<p>For example, something as simple as:
<pre>
case `uname -m` in
alpha) export PATH=$PATH:$HOME/alpha_bin ;;
amd64) export PATH=$PATH:$HOME/amd64_bin ;;
esac
</pre>
could be added to your .profile or to any script that you may need to run from
cron (MetaARPA/sverige users only). Invoking one of your compiled binaries
will then always result in the correct executable being run.</p>
<hr>
$Id: userbins.html,v 1.2 2010/05/27 18:34:52 jwodder Exp $
</body>
</html>