crosstool-ng on Mac OS X 10.6.2 (Snow Leopard) and issue with uname
Khem Raj
raj.khem@gmail.com
Thu Feb 4 20:34:00 GMT 2010
On Thu, Feb 4, 2010 at 10:12 AM, Uwe Papengut <uwe.papengut@t-online.de> wrote:
>
> Hello,
>
> I used the description from titus to build toolchain on Mac OS X SL. I used crosstool-ng 1.6.0.
>
> Everything worked fine until I start "ct-ng build" on my case sensitive file-system.
> I got this output:
>
> mac-mini:dxdx uwepapengut$ ct-ng build
> [INFO ] Performing some trivial sanity checks
> [INFO ] Build started 20100204.190640
> [INFO ] Building environment variables
> [00:01] / uname: illegal option -- o
> usage: uname [-amnprsv]
>
> In which file can I found the wrong command "uname -o..."?
kconfig/kconfig.mk:ifeq ($(shell uname -o 2>/dev/null || echo unknown),Cygwin)
scripts/crosstool-NG.sh.in:CT_SYS_OS=$(uname -o || echo "Unknown
(maybe MacOS-X)")
may be uname -s would be better because -s option exist in BSD version
of uname as well as coreutils version.
alternatively you can install coreutils from ports and use it on your mac
>
> Best Regards,
> Uwe
>
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list