BetaArchive Logo
Navigation Home Database Screenshots Gallery Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 2d, 10h, 48m | CPU: 8% | MEM: 4964MB of 8191MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 23 posts ] 
Author Message
 PostPost subject: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sun Nov 30, 2014 7:17 pm 
Reply with quote
Offline

Joined
Mon Mar 17, 2014 8:01 pm

Posts
9

Favourite OS
Digital UNIX 3.2D
I managed to installed Solaris 2.5.1 for PowerPC on a Motorola Powerstack (MT604-133) system, but as this was a very rare OS there is virtually no software available for it...
Is anyone aware of a compiler for this system? I understand there was a release of the sun workshop compiler for ppc, but i've had absolutely no luck locating this. There are also supposedly some compatible versions of GCC however i can't find a precompiled version and without any compiler whatsoever, can't bootstrap it from source.


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Mon Dec 01, 2014 1:43 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Wed Dec 31, 2008 7:29 pm

Posts
1462

Location
SE Asia

Favourite OS
MS-DOS 3.30a & Windows/386!
Your best hope is to try to build a cross compiler, then cross compile a compiler (canadian cross?) assuming you can find a binutils/gcc that support powerpc solaris.

_________________
"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Tue Dec 02, 2014 11:44 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Thu Mar 15, 2012 8:40 pm

Posts
150

Favourite OS
SysV R4
bert64 wrote:
I managed to installed Solaris 2.5.1 for PowerPC on a Motorola Powerstack (MT604-133) system, but as this was a very rare OS there is virtually no software available for it...
Is anyone aware of a compiler for this system? I understand there was a release of the sun workshop compiler for ppc, but i've had absolutely no luck locating this. There are also supposedly some compatible versions of GCC however i can't find a precompiled version and without any compiler whatsoever, can't bootstrap it from source.

Hello,

Same situation here. I'm running it on Powerstack E1, and searching the compilers for a long time. I've located someone who had the compilers set, he'll search for them and I'll let you know when receive the outcome.

_________________
Code:
SYSTEM V/68 Release 3.0  Version 1-Rev_A  M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Wed Dec 03, 2014 11:51 am 
Reply with quote
Offline

Joined
Mon Mar 17, 2014 8:01 pm

Posts
9

Favourite OS
Digital UNIX 3.2D
Wow thanks, i will have my fingers crossed...


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Fri Apr 06, 2018 10:07 pm 
Reply with quote
Offline

Joined
Wed May 03, 2017 7:39 am

Posts
1

Favourite OS
aux
Did we ever get hold of Solaris 2.5.1 PPC compilers? Which ones were they?


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sat Apr 07, 2018 5:29 pm 
Reply with quote
Offline

Joined
Sat Apr 07, 2018 5:26 pm

Posts
1

Favourite OS
Mac OS 9.2.2
amix_aux wrote:
Did we ever get hold of Solaris 2.5.1 PPC compilers? Which ones were they?


I, too, am also extremely interested in this. I just got set up a Solaris 2.5.1 PowerPC environment and would like to be able to write and port my own programs. If anyone can shed us light with this, it would be most appreciated. I registered to this forum for this sole reason.

Thank you in advance.


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Tue Apr 10, 2018 10:15 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sun Mar 16, 2014 6:56 am

Posts
156

Favourite OS
DOS
louisw3 wrote:
Your best hope is to try to build a cross compiler, then cross compile a compiler (canadian cross?) assuming you can find a binutils/gcc that support powerpc solaris.

If it was me, I'd try doing this, as it seems better than waiting for 3 years hoping one appears! Perhaps one of the posters who wants this compiler is now running Windows 10, so can use the Linux subsystem to start working on building GCC. I imagine there should be guides online for how to do this with GCC.


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Thu Apr 12, 2018 10:05 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Thu Mar 15, 2012 8:40 pm

Posts
150

Favourite OS
SysV R4
I gave up on searching the compiler. The best we can try is to cross compile...

_________________
Code:
SYSTEM V/68 Release 3.0  Version 1-Rev_A  M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Mon May 07, 2018 1:04 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Wed Dec 31, 2008 7:29 pm

Posts
1462

Location
SE Asia

Favourite OS
MS-DOS 3.30a & Windows/386!
Anyone try the later Qemu to run this?

Oddly enough it'll run MacOS 9, and OS X v1.x now...

_________________
"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sun Jan 26, 2020 7:00 pm 
Reply with quote
Offline

Joined
Sun Jan 26, 2020 6:57 pm

Posts
2
Hi!

Anyone still playing with Solaris 2.5.1 for PowerPC? I got inspired and tried to build a cross compiling environment to produce Solaris/PPC binaries. Unfortunately I don't have a system to test it on but please feel free to have a look here: https://bitbucket.org/X25ee/solaris-cro ... rc/master/

The repo contains a test binary produced by the cross compiler. If it works it should be possible to bootstrap GCC and start building software on the platform.

If anyone can try it please let me know if it works or not. Thanks!


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Tue Jan 28, 2020 10:57 am 
Reply with quote
Donator
User avatar
Offline

Joined
Thu Mar 15, 2012 8:40 pm

Posts
150

Favourite OS
SysV R4
Nice! I will test the binaries in 10 days when I'm back home.

_________________
Code:
SYSTEM V/68 Release 3.0  Version 1-Rev_A  M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sat Feb 08, 2020 12:11 am 
Reply with quote
Donator
User avatar
Offline

Joined
Thu Mar 15, 2012 8:40 pm

Posts
150

Favourite OS
SysV R4
Good news! It works.

Code:
# uname -a;./hello-ppc
SunOS mvme1600 5.5.1 LAR prep ppc prep
Hello world from a cross compiled executable!
#

_________________
Code:
SYSTEM V/68 Release 3.0  Version 1-Rev_A  M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Wed Feb 12, 2020 10:16 pm 
Reply with quote
FTP Access
Offline

Joined
Fri Feb 10, 2012 7:39 am

Posts
92

Favourite OS
NT4 SP6
For future reference, someone uploaded the compiler for PPC Solaris to archive.org. Sadly the compiler is missing an installer at least from what I can tell. I was unable to figure out exactly how to get it working on my 40p but this should be of use to anyone with a PPC Solaris box.
https://archive.org/download/solarisppc/ppccomp.tar.gz


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sat Feb 15, 2020 6:06 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Thu Mar 15, 2012 8:40 pm

Posts
150

Favourite OS
SysV R4
Gligar13 wrote:
For future reference, someone uploaded the compiler for PPC Solaris to archive.org. Sadly the compiler is missing an installer at least from what I can tell. I was unable to figure out exactly how to get it working on my 40p but this should be of use to anyone with a PPC Solaris box.
https://archive.org/download/solarisppc/ppccomp.tar.gz

This is even better and it works too :)

_________________
Code:
SYSTEM V/68 Release 3.0  Version 1-Rev_A  M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sun Feb 16, 2020 4:22 pm 
Reply with quote
Offline

Joined
Sun Jan 26, 2020 6:57 pm

Posts
2
Thank you for testing wbyte! Interesting find Gligar13 - seems to be the Sun C compiler.

In case anyone is interested I continued my project and built a native GCC for Solaris 2.5.1 SPARC and PowerPC on my i386 host. Tested it on my SPARC and it works well - I was able to recompile GCC itself, gzip and emacs without issues. Updated the instructions on how to recreate and also added the GCC PPC binary to the repo: https://bitbucket.org/X25ee/solaris-cro ... rc/master/

Please test it if you want to. :)


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sat Feb 22, 2020 6:57 pm 
Reply with quote
FTP Access
Offline

Joined
Fri Feb 10, 2012 7:39 am

Posts
92

Favourite OS
NT4 SP6
X25 wrote:
Thank you for testing wbyte! Interesting find Gligar13 - seems to be the Sun C compiler.

In case anyone is interested I continued my project and built a native GCC for Solaris 2.5.1 SPARC and PowerPC on my i386 host. Tested it on my SPARC and it works well - I was able to recompile GCC itself, gzip and emacs without issues. Updated the instructions on how to recreate and also added the GCC PPC binary to the repo: https://bitbucket.org/X25ee/solaris-cro ... rc/master/

Please test it if you want to. :)

Sadly I'm having issues compiling code, is there anything I need to point it to first or a path I need to add?
Code:
$ /opt/ppc-gcc/bin/gcc hello.c
/opt/ppc-gcc/powerpcle-sun-solaris2/bin/ld: cannot open values-Xa.o: No such file or directory
collect2: ld returned 1 exit status
$ uname -a
SunOS RS6K40P 5.5.1 LAR prep ppc IBM,PPS_Model_6015
$


However values-Xa.o exists on the system already:
Code:
# find / -name "values-Xa.o"
/usr/ccs/lib/values-Xa.o
# ls /usr/ccs/lib
cpp             libform.a       libmenu.a       liby.a          llib-lmenu      llib-ly.ln      values-Xs.o
fp              libgen.a        libpanel.a      llib-lform      llib-lmenu.ln   svr4.make       values-Xt.o
help            libl.a          libtermcap.a    llib-lform.ln   llib-lpanel     values-Xa.o     values-xpg4.o
libcurses.a     libmalloc.a     libtermlib.a    llib-ll.ln      llib-lpanel.ln  values-Xc.o
#


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sat Feb 22, 2020 11:41 pm 
Reply with quote
Offline

Joined
Wed Nov 13, 2019 7:31 pm

Posts
32
Old versions of gcc are not relocatable - they want to see files in places which are hardcoded during compile-time.

That's bad news.

Good news: it's all hardcoded in the "gcc driver" ("gcc" binary itself) and the ONLY thing that said "driver" does - are execution of other programs with proper parameters. And it could show precisely what it tried to execute with "-v" option.

So... just call it with "-v" option, see what it tried to execute and tweak commands till they would work.


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sun Feb 23, 2020 3:42 am 
Reply with quote
FTP Access
Offline

Joined
Fri Feb 10, 2012 7:39 am

Posts
92

Favourite OS
NT4 SP6
zde wrote:
Old versions of gcc are not relocatable - they want to see files in places which are hardcoded during compile-time.

That's bad news.

Good news: it's all hardcoded in the "gcc driver" ("gcc" binary itself) and the ONLY thing that said "driver" does - are execution of other programs with proper parameters. And it could show precisely what it tried to execute with "-v" option.

So... just call it with "-v" option, see what it tried to execute and tweak commands till they would work.

At first I tried it with this and got this output:
Code:
$ /opt/ppc-gcc/bin/gcc -v hello.c
Reading specs from /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/specs
gcc driver version 2.95 19990728 (release) executing gcc version 2.8.1
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=8 -DPPC -Dunix -D__sv
r4__ -D__PPC__ -D__unix__ -D__svr4__ -D__PPC -D__unix -Asystem(unix) -Asystem(svr4) -Acpu(powerpc) -Amachine(powerpc) -D
__CHAR_UNSIGNED__ -D_CALL_SYSV -D__LITTLE_ENDIAN__ -Amachine(littleendian) -D_ARCH_PPC -D__ppc -D__sun__=1 -D__unix__ -D
__svr4__ -D__SVR4__ -Dsun=1 -Dunix -DSVR4 -D__EXTENSIONS__ -Amachine(prep) hello.c /var/tmp/ccHgbucC.i
GNU CPP version 2.95 19990728 (release) (PowerPC Solaris)
#include "..." search starts here:
#include <...> search starts here:
 /opt/ppc-gcc/include
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../powerpcle-sun-solaris2/include
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../include/g++-3
End of omitted list.
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cc1 /var/tmp/ccHgbucC.i -quiet -dumpbase hello.c -version -o /var/
tmp/ccWRGHab.s
GNU C version 2.95 19990728 (release) (powerpcle-sun-solaris2) compiled by GNU C version 2.8.1.
 /opt/ppc-gcc/powerpcle-sun-solaris2/bin/as -le -s -V -Qy -o /var/tmp/ccxY8N22.o /var/tmp/ccWRGHab.s
GNU assembler version 2.8.1 (powerpcle-sun-solaris2), using BFD version 2.8.1
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/collect2 -V -Qy -dn -Bstatic /opt/ppc-gcc/lib/gcc-lib/powerpcle-su
n-solaris2/2.95/scrti.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/scrt0.o -L/opt/ppc-gcc/lib/gcc-lib/powerpcl
e-sun-solaris2/2.95 -L/opt/ppc-gcc/powerpcle-sun-solaris2/lib /var/tmp/ccxY8N22.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun
-solaris2/2.95/libgcc.a values-Xa.o -lc /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/libgcc.a /opt/ppc-gcc/lib/g
cc-lib/powerpcle-sun-solaris2/2.95/scrtn.o
/opt/ppc-gcc/powerpcle-sun-solaris2/bin/ld: cannot open values-Xa.o: No such file or directory
GNU ld version 2.8.1 (with BFD 2.8.1)
  Supported emulations:
   elf32lppc
collect2: ld returned 1 exit status
$


So what I did to get it to compile a basic hello.world was symlink some files to /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/ since it was clearly looking there for something...
Code:
$ ls -l /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/
total 13224
-rwxr-xr-x   1 bin      bin      5157747 Feb 16 10:30 cc1
-rwxr-xr-x   1 bin      bin       404074 Feb 16 10:30 collect2
-rwxr-xr-x   1 bin      bin       453525 Feb 16 10:30 cpp
-rw-r--r--   1 bin      bin         1932 Feb 16 10:30 ecrti.o
-rw-r--r--   1 bin      bin         1749 Feb 16 10:30 ecrtn.o
drwxr-xr-x   3 bin      bin         1024 Feb 16 10:29 include
-rw-r--r--   1 bin      bin       673012 Feb 16 10:30 libgcc.a
drwxr-xr-x   2 bin      bin          512 Feb 16 10:30 nof
-rw-r--r--   1 bin      bin         4212 Feb 16 10:30 scrt0.o
-rw-r--r--   1 bin      bin         1360 Feb 16 10:30 scrti.o
-rw-r--r--   1 bin      bin         1104 Feb 16 10:30 scrtn.o
-rw-r--r--   1 bin      bin         7868 Feb 16 10:30 specs
lrwxrwxrwx   1 root     other         24 Feb 22 21:35 values-Xa.o -> /usr/ccs/lib/values-Xa.o
lrwxrwxrwx   1 root     other         24 Feb 22 21:36 values-Xc.o -> /usr/ccs/lib/values-Xc.o
lrwxrwxrwx   1 root     other         24 Feb 22 21:36 values-Xs.o -> /usr/ccs/lib/values-Xs.o
lrwxrwxrwx   1 root     other         24 Feb 22 21:36 values-Xt.o -> /usr/ccs/lib/values-Xt.o
lrwxrwxrwx   1 root     other         26 Feb 22 21:37 values-xpg4.o -> /usr/ccs/lib/values-xpg4.o
$ uname -a
SunOS RS6K40P 5.5.1 LAR prep ppc IBM,PPS_Model_6015
$


This was the result:
Code:
$ /opt/ppc-gcc/bin/gcc -v hello.c
Reading specs from /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/specs
gcc driver version 2.95 19990728 (release) executing gcc version 2.8.1
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cpp -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=8 -DPPC -Dunix -D__sv
r4__ -D__PPC__ -D__unix__ -D__svr4__ -D__PPC -D__unix -Asystem(unix) -Asystem(svr4) -Acpu(powerpc) -Amachine(powerpc) -D
__CHAR_UNSIGNED__ -D_CALL_SYSV -D__LITTLE_ENDIAN__ -Amachine(littleendian) -D_ARCH_PPC -D__ppc -D__sun__=1 -D__unix__ -D
__svr4__ -D__SVR4__ -Dsun=1 -Dunix -DSVR4 -D__EXTENSIONS__ -Amachine(prep) hello.c /var/tmp/ccLD1Dmw.i
GNU CPP version 2.95 19990728 (release) (PowerPC Solaris)
#include "..." search starts here:
#include <...> search starts here:
 /opt/ppc-gcc/include
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../powerpcle-sun-solaris2/include
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/../../../../include/g++-3
End of omitted list.
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/cc1 /var/tmp/ccLD1Dmw.i -quiet -dumpbase hello.c -version -o /var/
tmp/cc4Bn1uZ.s
GNU C version 2.95 19990728 (release) (powerpcle-sun-solaris2) compiled by GNU C version 2.8.1.
 /opt/ppc-gcc/powerpcle-sun-solaris2/bin/as -le -s -V -Qy -o /var/tmp/cctzh9vL.o /var/tmp/cc4Bn1uZ.s
GNU assembler version 2.8.1 (powerpcle-sun-solaris2), using BFD version 2.8.1
 /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/collect2 -V -Qy -dn -Bstatic /opt/ppc-gcc/lib/gcc-lib/powerpcle-su
n-solaris2/2.95/scrti.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/scrt0.o -L/opt/ppc-gcc/lib/gcc-lib/powerpcl
e-sun-solaris2/2.95 -L/opt/ppc-gcc/powerpcle-sun-solaris2/lib /var/tmp/cctzh9vL.o /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun
-solaris2/2.95/libgcc.a /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/values-Xa.o -lc /opt/ppc-gcc/lib/gcc-lib/po
werpcle-sun-solaris2/2.95/libgcc.a /opt/ppc-gcc/lib/gcc-lib/powerpcle-sun-solaris2/2.95/scrtn.o
GNU ld version 2.8.1 (with BFD 2.8.1)
  Supported emulations:
   elf32lppc
$ ./a.out
Hello, World!
$


On a related note I couldn't get Sun's compiler working so it's good to know that something works on PPC Solaris now at least. This is also what the /usr/ccs/lib folder looks like on Solaris PPC 2.5.1:
Code:
$ uname -a
SunOS RS6K40P 5.5.1 LAR prep ppc IBM,PPS_Model_6015
$ ls -l /usr/ccs/lib
total 5100
-rwxr-xr-x   1 bin      bin        80116 Nov 20  1995 cpp
drwxr-xr-x   3 bin      bin          512 Feb 19 21:32 fp
drwxr-xr-x   4 bin      bin          512 Feb 19 21:40 help
-rw-r--r--   3 bin      bin       664700 Dec 14  1995 libcurses.a
-rw-r--r--   1 bin      bin        98208 Dec 14  1995 libform.a
-rw-r--r--   1 bin      bin        63004 Dec 14  1995 libgen.a
-rw-r--r--   1 bin      bin        21824 Dec 15  1995 libl.a
-rw-r--r--   1 bin      bin         9740 Dec 14  1995 libmalloc.a
-rw-r--r--   1 bin      bin        52172 Dec 14  1995 libmenu.a
-rw-r--r--   1 bin      bin        16440 Dec 14  1995 libpanel.a
-rw-r--r--   3 bin      bin       664700 Dec 14  1995 libtermcap.a
-rw-r--r--   3 bin      bin       664700 Dec 14  1995 libtermlib.a
-rw-r--r--   1 bin      bin         2788 Dec 15  1995 liby.a
-rw-r--r--   1 bin      bin         5863 Dec 14  1995 llib-lform
-rw-r--r--   1 bin      bin         9929 Dec 14  1995 llib-lform.ln
-rw-r--r--   1 bin      bin          693 Dec 15  1995 llib-ll.ln
-rw-r--r--   1 bin      bin         3270 Dec 14  1995 llib-lmenu
-rw-r--r--   1 bin      bin         7863 Dec 14  1995 llib-lmenu.ln
-rw-r--r--   1 bin      bin         1218 Dec 14  1995 llib-lpanel
-rw-r--r--   1 bin      bin         2851 Dec 14  1995 llib-lpanel.ln
-rw-r--r--   1 bin      bin          245 Dec 15  1995 llib-ly.ln
-rwxr-xr-x   1 bin      bin       167716 Nov 29  1995 svr4.make
-rw-r--r--   1 bin      bin          920 Dec 14  1995 values-Xa.o
-rw-r--r--   1 bin      bin          920 Dec 14  1995 values-Xc.o
-rw-r--r--   1 bin      bin          920 Dec 14  1995 values-Xs.o
-rw-r--r--   1 bin      bin          920 Dec 14  1995 values-Xt.o
-rw-r--r--   1 bin      bin          920 Dec 14  1995 values-xpg4.o
$


Edit: That compiler archive I posted includes some header files for compiling as well, including things like iostream.h. These are located in the SUNWspro/SC4.2/SC4.2/include/cc directory. Then again the CPP compiler (G++) seems to be missing as well as it won't find cc1plus so likely that needs to be built for CPP development.


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sun Feb 23, 2020 3:31 pm 
Reply with quote
Offline

Joined
Wed Nov 13, 2019 7:31 pm

Posts
32
Gligar13 wrote:
On a related note I couldn't get Sun's compiler working so it's good to know that something works on PPC Solaris now at least.
If you have some working compiler there then you could try to grab gcc sources and build c++ and fortran compilers (if you need fortran, that is).

The biggest issue is old, obsolete, version of make (but you could grab GNU make, too). Eventually it should work but I couldn't give you a promise about how much you would need to play with all these thingies before it would reach usable state.

I know that people back in the day were using GNU tools on Solaris quite often because build-in tools were... not all that flexible.

At some point Sun even started offering them on separate CD - but I think that happened after PPC version was abandoned.

P.S. And yes, many developers were using GCC even back then. It was producing awful code (compared to sunPRO compiler) but it was so much more forgiving... people often picked it because they eventually become tired of fight with sunPRO...


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Mon Feb 24, 2020 2:34 am 
Reply with quote
Donator
Offline

Joined
Wed Sep 23, 2009 10:17 am

Posts
105

Favourite OS
AIX 4.1.5
wbyte wrote:
[code]# uname -a;./hello-ppc
SunOS mvme1600 5.5.1 LAR prep ppc prep
/code]

It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at).

Do you know if there are any other "unmentioned" systems that can run this?


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Mon Feb 24, 2020 7:50 am 
Reply with quote
Donator
User avatar
Offline

Joined
Thu Mar 15, 2012 8:40 pm

Posts
150

Favourite OS
SysV R4
Subject: Solaris 2.5.1 for PowerPC / Compiler Availability

sunscreen wrote:
wbyte wrote:
[code]# uname -a;./hello-ppc
SunOS mvme1600 5.5.1 LAR prep ppc prep
/code]

It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at).

Do you know if there are any other "unmentioned" systems that can run this?

The earlier 2.5.1 version doesn't officially support it, but it works. However the more recent Virtual OpenFirmware boot floppy detects the board correctly, which indicated the board has been supported at some point.

gcc doesn't work with my installation.
Quote:
# ./gcc
Illegal Instruction - core dumped
#



At least the Sun C compiler compiles fine, even with some warnings:
Quote:
# /opt/SUNWspro/SC4.2/SC4.2/bin/CC a.c
ld: fatal: file=a.o: relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libC_mtstubs.a(mt_stubs.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
ld: fatal: file=/opt/SUNWspro/SC4.2/SC4.2/lib/libabi.a(ppc_module_tags.o): relocation [0x25 ] (symbol `<unknown>'), unsupported # of bits for relocation: 656
# ls -la a.out
-rwxr-xr-x 1 root other 10972 Feb 24 09:46 a.out
# ./a.out
Hello, World!

_________________
Code:
SYSTEM V/68 Release 3.0  Version 1-Rev_A  M68020
sysV68
Copyright (c) 1984 AT&T
Copyright (c) 1985 Motorola, Inc.
All Rights Reserved


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Mon Feb 24, 2020 9:33 pm 
Reply with quote
FTP Access
Offline

Joined
Fri Feb 10, 2012 7:39 am

Posts
92

Favourite OS
NT4 SP6
sunscreen wrote:
wbyte wrote:
[code]# uname -a;./hello-ppc
SunOS mvme1600 5.5.1 LAR prep ppc prep
/code]

It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at).

Do you know if there are any other "unmentioned" systems that can run this?

It's probably because it has the ppcbug firmware and Solaris PPC has a special "Motorola" boot disk. According to one Motorola owner, that boots Solaris. Solaris PPC is also not as strict about hardware support as AIX is, my 40p had a 3com NIC installed by the last owner which works under Solaris PPC and NT4 PPC.


Top  Profile
 PostPost subject: Re: Solaris 2.5.1 for PowerPC / Compiler Availability        Posted: Sat Feb 29, 2020 7:44 am 
Reply with quote
Donator
Offline

Joined
Wed Sep 23, 2009 10:17 am

Posts
105

Favourite OS
AIX 4.1.5
Gligar13 wrote:
sunscreen wrote:
wbyte wrote:
[code]# uname -a;./hello-ppc
SunOS mvme1600 5.5.1 LAR prep ppc prep
/code]

It runs on an MVME1600? This is not mentioned in the HCL (or at least not the version of the HCL I looked at).

Do you know if there are any other "unmentioned" systems that can run this?

It's probably because it has the ppcbug firmware and Solaris PPC has a special "Motorola" boot disk. According to one Motorola owner, that boots Solaris. Solaris PPC is also not as strict about hardware support as AIX is, my 40p had a 3com NIC installed by the last owner which works under Solaris PPC and NT4 PPC.


I'm still surprised that it works because all the officially supported platforms have very obvious explicit support (they show up in strings on the boot floppies, they have corresponding directories in /usr/platform etc.) whereas I can't find a trace of VME in anywhere there.

Time to dig out that MVME1600 and give it a try.


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 




Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2020

 

Sitemap | XML | RSS