Bash variables reporting wrong architecture in Terminal.app, xterm

Discussion in 'macOS' started by Am3822, Jan 8, 2007.

  1. Am3822 macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #1
    Hi people,

    I'm running OS X 10.4.8 on an intel-based Mac. I've been playing around with the .bashrc configuration files for xterm , when I noticed the following values (the same goes for Terminal.app):

    Code:
    [~]>set
    .
    .
    .
    HOSTTYPE=powerpc
    MACHTYPE=powerpc-apple-darwin8.0
    which are incorrect, since this is an intel machine. Do these variables have any influence on the system's behaviour (e.g. when compiling packages using make)? Should I change them myself, and if so -- where are the configuration files, and what are the correct values?
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    HOSTTYPE fix

    This is a bug on Apple's part, since these values are hardcoded into bash.
     

Share This Page