tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] uname -o is not valid on macOS


From: Elijah Stone
Subject: Re: [Tinycc-devel] uname -o is not valid on macOS
Date: Thu, 11 Aug 2022 22:56:41 -0700 (PDT)

then how about this: test $(uname) = Linux && test $(uname -o) = Android && 
targetos=Android

On Fri, 12 Aug 2022, grischka wrote:

On 11.08.2022 11:02, Christian JULLIEN wrote:

Here:

test "$(uname -o)" = "Android" && targetos=Android

Why not just "$(uname)" ?

Well, because on Android just uname gives "Linux".


It shows an error but script continues

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]