我正在尝试crosstool-ng在OSX 10.6.8 上安装。在配置阶段,我运行./configure --prefix=/opt/cross,我得到以下输出:
! ./configure --prefix=/opt/cross
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether sed understands -r -i -e... no
configure: error: 
似乎sed应该接受-r作为一个论点,但不是。在sed 这里查看   也表明这-r是一个有效的参数,但是当我运行时,man sed我不认为我的版本允许这样:
SED(1)                    BSD General Commands Manual                   SED(1)
NAME
     sed -- stream editor
SYNOPSIS
     sed [-Ealn] command [file ...]
     sed [-Ealn] [-e command] [-f command_file] [-i extension] [file ...]
我的系统是否包含不正确的版本sed?我该怎么做才能使我sed兼容crosstool-ng?