yash icon indicating copy to clipboard operation
yash copied to clipboard

IRIX Support

Open Sunny-Maxis opened this issue 10 months ago • 4 comments

Greetings,

I am an IRIX developer working with the admin of tech-pubs.net to get stuff ported to IRIX.

I would like to suggest IRIX as a platform. I have attempted to build it, but as I use tcsh as a primary shell I'm unsure what kind of shell I should try to run configure with. IRIX also has a non-functional getconf for POSIX or XOPEN (it supports XPG4 and POSIX 98). It has a C99 compliant compiler (MIPSPro).

Unfortunately, emulation is nonviable. I'd like to offer one of our machines with remote access for use to port Yash, even if some functionality must be disabled. IRIX is close to Solaris and AIX, so adding IRIX support will greatly ease adding support for those OSes.

If you'd like me to get started/attempt, I need to know the following things:

What's a shell I can objectively run yash's configure from? bash, ksh88 and IRIX sh (ancient bourne) failed, as did non-POSIX csh/tcsh.

how can I get around your hard coded getconf?

https://www.yendor.com/sgi/irix-fw-howto.html

Some more info, though some of this is outdated and no longer necessary.

Sunny-Maxis avatar Feb 22 '25 06:02 Sunny-Maxis

What is the version of bash? Reasonably new versions of bash should run configure just fine.

magicant avatar Feb 23 '25 14:02 magicant

I have 3.x and 5.x on the system. but the $() wrappers failed despite a shebang, requiring changing them to backticks.

Getconf, also broke things.

Sunny-Maxis avatar Feb 23 '25 19:02 Sunny-Maxis

Both bash 3 and 5 support the $() notation. Are you sure you're running bash? What exactly is the error message you're seeing?

magicant avatar Feb 24 '25 15:02 magicant

Anything wrapped in $() gets the first letter clipped off. I am rebuilding GNU bash on here to rule out a bug in the compiler. I'll be in touch. Thank you.

Sunny-Maxis avatar Feb 25 '25 01:02 Sunny-Maxis