IRIX Network Forums
Need sample IRIX uname results - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: SGI/MIPS (//forums.irixnet.org/forum-3.html)
+--- Forum: Development/Porting (//forums.irixnet.org/forum-9.html)
+--- Thread: Need sample IRIX uname results (/thread-3994.html)



Need sample IRIX uname results - jwhat - 07-15-2023

Hi SGI/IRIX'ers,

I am working on getting a source driven way to install GNU and other software on IRIX.

This requires "knowledge" of the OS as part of the configure.

All my IRIX machines are 6.5.30 so I need to get a more diverse set of results.

Octane:
% /sbin/uname -Ra
IRIX64 porcipine 6.5 6.5.30f 07202013 IP30

Fuel:
1% /sbin/uname -Ra
IRIX64 pink 6.5 6.5.30m 07202013 IP35

So asking if people could please post their IRIX: "/sbin/uname -Ra' results (not /usr/freeware/bin/uname )

I would really like to get results that are not IRIX 6.5.30 ...

Thanks in advance.

Cheers from Oz,


jwhat/John.


RE: Need sample IRIX uname results - Raion - 07-15-2023

You want uname -saR for the stock one or you can mandate people use my neweoe version which is properly POSIX compliant (the stock command is NOT)

https://gitea.irixce.org/Raion/IRIX-neweoe

The stock IRIX command is broken because -r and -R are reversed from literally every other OS published.

https://forums.irixnet.org/thread-3305.html

Details here. I do not recommend working around the stock uname because when IRIXCE is stable there's going to be no reason to use a historical form of IRIX 6.5.x because:

1. Security holes will be patched
2. Many libraries will be upgraded/patched
3. It will form a more correct development environment.

Do we really want to go through and patch every script out there using uname -r? I think not.


RE: Need sample IRIX uname results - jwhat - 07-15-2023

Hi Raion,

on IRIX 6.5.10 "/sbin/uname -saR" produces same result as "/sbin/uname -aR" ...

% /sbin/uname -saR
IRIX64 pink 6.5 6.5.30m 07202013 IP35
% /sbin/uname -sR
IRIX64 6.5 6.5.30m
% /sbin/uname -aR
IRIX64 pink 6.5 6.5.30m 07202013 IP35

But key point is I just want "standard" IRIX result, not any special variation result, as I can't create scripts based on special variations.

Cheers from Oz,

jwhat/John


RE: Need sample IRIX uname results - Raion - 07-15-2023

Interesting, I always used -saR on .22 (I don't really use .30 except on the tezro)

Anyways I certainly understand your thing. Either way we'll work out how to figure it out.