tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] uname -o was not portable


From: Christian Jullien
Subject: Re: [Tinycc-devel] uname -o was not portable
Date: Mon, 5 Sep 2022 06:49:57 +0200

It has been proposed to replace this by:

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

Which works well also on macOS.

It has been neither accepted nor rejected.



-----Original Message-----
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange.fr@nongnu.org] On 
Behalf Of Moritz Messner
Sent: Sunday, September 04, 2022 22:08
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] uname -o was not portable

This came up a couple weeks ago and was rejected, because uname -s return Linux 
when executed on Android, while -o return Android.

But best check the mailing list archives as I'm not completely sure what the 
consensus was 


-------- Original Message --------
From: Niklas Rosencrantz <niklasro@gmail.com>
Sent: September 4, 2022 9:14:14 PM GMT+02:00
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] uname -o was not portable

make failed on macOS (Apple M1) seemingly because uname -o is not working
with Apple/macOS. But uname -s did work so I committed a small edit for
that. I checked it with a native Linux system that it didn't break the
Linux build. I hope it's alright?
https://repo.or.cz/tinycc.git/commit/4410dbdd7fcb1ab5133ece7d77a523189c4996e8

Cheers \n

_______________________________________________
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]