[rescue] SunOS 4

Romain Dolbeau romain at dolbeau.org
Wed Jan 8 11:13:52 EST 2025


Le lun. 6 janv. 2025 à 15:31, Ron Pool via rescue <rescue at sunhelp.org> a écrit :
> In a thread at https://gainos.org/~elf/sgi/nekonomicon/forum/17/16728312/1.html there is a question if the non-expiring
> Workshop 3 demo license would also work on SunOS 4 (Solaris 1.x). for SPARCompiler 3.0.1 etc.  No one in that thread
> Reported trying out that license on SunOS 4.

I've installed the tools from the CD image kindly shared by MIke
Spooner, and it appears to work :-)

After installing (no license), the compiler complains with:

####
-bash-3.2$ /usr/lang/acc toto.c

License Error : Cannot find license file
(/usr/local/flexlm/licenses/license.dat)
       for product (SPARCompiler C)

       The product has not been installed properly.
       There are no license files in following path :

               None
####

adding the raw "ws3.0_sparc.txt" as I downloaded it doesn't work, the
compiler complains about not having a proper license. However, the
information shared by Ron Pool was sufficient to fix the problem:
using "dos2unix" to remove the spurious ^M characters. Putting that in
the above flexlm path enable me to do some basic compilation in C:

####
-bash-3.2$ /usr/lang/acc toto.c
-bash-3.2$ ./a.out
Hello Worlds!
####

I did not try which other tools work and which don't (yet).

HTH & cordially,

-- 
Romain Dolbeau



More information about the rescue mailing list