[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members projects store tour gopher abuse dialup minecraft social
tilde nihongo europa webmail gallery usermap irc tutorials telnet git ssh
SDF $HOME/bin awareness

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 'uname -m' to determine the CPU type of your current host when logging in and update your $PATH appropriately.

For example, something as simple as:

case `uname -m` in
 alpha) export PATH=$PATH:$HOME/alpha_bin ;; 
 amd64) export PATH=$PATH:$HOME/amd64_bin ;;
esac
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.


$Id: userbins.html,v 1.2 2010/05/27 18:34:52 jwodder Exp $

©1987-2065 SDF Public Access UNIX System, Inc. 501(c)(7)
(this page was generated using ksh, sed and awk)