Boy is Solaris fun !
Sun Studio 12.3 appears to be working. I grabbed a bit of code off the Innertubes for a test and ...
MIPSPro also gives a ton of errors on the same file. Interesting that they aren't exactly the same. Nice tutorial.
Anyhow, the compiler appears to be working. But all the apps I want complain about (config.log)
This isn't what I want but gmake should be a short simple test case to get the dumb thing running. It appears to want libdwarf. No problem, dload the source to libdwarf and configure ... oh-oh. Libdwarf also wants libdwarf to compile libdwarf. This could be a problem. I can't find stinking libdwarf anywhere on the Solaris CD's and no clue on the useless godforsaken Intertubes.
Where the hell is it ?
And here I thought MIPSPro was kind of a pain ....
(But I did discover that Sun likes to rename and reorganize every single part of their operating system for every release. Cool ! no wonder they went broke.)
Sun Studio 12.3 appears to be working. I grabbed a bit of code off the Innertubes for a test and ...
Code:
7% cc test.c
"test.c", line 1: warning: old-style declaration or incorrect type for: Display
"test.c", line 1: syntax error before or at: menu
"test.c", line 1: warning: old-style declaration or incorrect type for: menu
"test.c", line 1: warning: old-style declaration or incorrect type for: until
"test.c", line 1: warning: old-style declaration or incorrect type for: press
"test.c", line 1: warning: old-style declaration or incorrect type for: by
"test.c", line 1: warning: old-style declaration or incorrect type for: using
"test.c", line 1: warning: old-style declaration or incorrect type for: child
"test.c", line 7: warning: old-style declaration or incorrect type for: main
"test.c", line 12: newline in string literal
"test.c", line 14: syntax error before or at: Main
"test.c", line 15: newline in string literal
"test.c", line 16: newline in string literal
"test.c", line 17: newline in string literal
"test.c", line 18: newline in string literal
"test.c", line 19: newline in string literal
"test.c", line 20: newline in string literal
"test.c", line 21: newline in string literal
"test.c", line 22: newline in string literal
"test.c", line 23: newline in string literal
"test.c", line 24: newline in string literal
"test.c", line 25: newline in string literal
"test.c", line 26: newline in string literal
"test.c", line 27: newline in string literal
"test.c", line 30: newline in character constant
"test.c", line 38: "case" outside switch
"test.c", line 40: warning: implicit function declaration: wait
"test.c", line 44: "case" outside switch
"test.c", line 50: "case" outside switch
"test.c", line 52: "default" outside switch
"test.c", line 53: newline in string literal
"test.c", line 54: newline in string literal
"test.c", line 55: syntax error before or at:
"test.c", line 57: warning: syntax error: empty declaration
"test.c", line 58: cannot recover from previous errors
cc: acomp failed for test.c
"test.c", line 1: warning: old-style declaration or incorrect type for: Display
"test.c", line 1: syntax error before or at: menu
"test.c", line 1: warning: old-style declaration or incorrect type for: menu
"test.c", line 1: warning: old-style declaration or incorrect type for: until
"test.c", line 1: warning: old-style declaration or incorrect type for: press
"test.c", line 1: warning: old-style declaration or incorrect type for: by
"test.c", line 1: warning: old-style declaration or incorrect type for: using
"test.c", line 1: warning: old-style declaration or incorrect type for: child
"test.c", line 7: warning: old-style declaration or incorrect type for: main
"test.c", line 12: newline in string literal
"test.c", line 14: syntax error before or at: Main
"test.c", line 15: newline in string literal
"test.c", line 16: newline in string literal
"test.c", line 17: newline in string literal
"test.c", line 18: newline in string literal
"test.c", line 19: newline in string literal
"test.c", line 20: newline in string literal
"test.c", line 21: newline in string literal
"test.c", line 22: newline in string literal
"test.c", line 23: newline in string literal
"test.c", line 24: newline in string literal
"test.c", line 25: newline in string literal
"test.c", line 26: newline in string literal
"test.c", line 27: newline in string literal
"test.c", line 30: newline in character constant
"test.c", line 38: "case" outside switch
"test.c", line 40: warning: implicit function declaration: wait
"test.c", line 44: "case" outside switch
"test.c", line 50: "case" outside switch
"test.c", line 52: "default" outside switch
"test.c", line 53: newline in string literal
"test.c", line 54: newline in string literal
"test.c", line 55: syntax error before or at:
"test.c", line 57: warning: syntax error: empty declaration
"test.c", line 58: cannot recover from previous errors
cc: acomp failed for test.c
MIPSPro also gives a ton of errors on the same file. Interesting that they aren't exactly the same. Nice tutorial.
Anyhow, the compiler appears to be working. But all the apps I want complain about (config.log)
Code:
configure:2890: checking for gcc
configure:2920: result: no, thank god
configure:2983: checking for cc
configure:3004: found /opt/SunStudio/prod/bin/cc
configure:3027: result: cc
configure:3146: checking for C compiler version
configure:3155: cc --version >&5
cc: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
usage: cc [ options ] files. Use 'cc -flags' for details
configure:3166: $? = 1
configure:3155: cc -v >&5
usage: cc [ options ] files. Use 'cc -flags' for details
configure:3166: $? = 1
configure:3155: cc -V >&5
cc: Sun C 5.12 SunOS_sparc 2011/11/16
configure:3166: $? = 0
configure:3155: cc -qversion >&5
cc: Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise
usage: cc [ options ] files. Use 'cc -flags' for details
configure:3166: $? = 1
configure:3186: checking whether the C compiler works
configure:3208: cc conftest.c >&5
"conftest.c", line 18: internal compiler error: DBGGEN ERROR: FILE="../src/dbg_libdwarf.c", LINE=46, Could not load dwarf library: libdwarf.so : ld.so.1: acomp: fatal: libdwarf.so: open failed: No such file or directory [DBG_GEN 5.3.3]
cc: acomp failed for conftest.c
configure:3212: $? = 2
configure:3250: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU make"
| #define PACKAGE_TARNAME "make"
| #define PACKAGE_VERSION "3.82"
| #define PACKAGE_STRING "GNU make 3.82"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "http://www.gnu.org/software/make/"
| #define PACKAGE "make"
| #define VERSION "3.82"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2920: result: no, thank god
configure:2983: checking for cc
configure:3004: found /opt/SunStudio/prod/bin/cc
configure:3027: result: cc
configure:3146: checking for C compiler version
configure:3155: cc --version >&5
cc: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
usage: cc [ options ] files. Use 'cc -flags' for details
configure:3166: $? = 1
configure:3155: cc -v >&5
usage: cc [ options ] files. Use 'cc -flags' for details
configure:3166: $? = 1
configure:3155: cc -V >&5
cc: Sun C 5.12 SunOS_sparc 2011/11/16
configure:3166: $? = 0
configure:3155: cc -qversion >&5
cc: Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise
usage: cc [ options ] files. Use 'cc -flags' for details
configure:3166: $? = 1
configure:3186: checking whether the C compiler works
configure:3208: cc conftest.c >&5
"conftest.c", line 18: internal compiler error: DBGGEN ERROR: FILE="../src/dbg_libdwarf.c", LINE=46, Could not load dwarf library: libdwarf.so : ld.so.1: acomp: fatal: libdwarf.so: open failed: No such file or directory [DBG_GEN 5.3.3]
cc: acomp failed for conftest.c
configure:3212: $? = 2
configure:3250: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU make"
| #define PACKAGE_TARNAME "make"
| #define PACKAGE_VERSION "3.82"
| #define PACKAGE_STRING "GNU make 3.82"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "http://www.gnu.org/software/make/"
| #define PACKAGE "make"
| #define VERSION "3.82"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
This isn't what I want but gmake should be a short simple test case to get the dumb thing running. It appears to want libdwarf. No problem, dload the source to libdwarf and configure ... oh-oh. Libdwarf also wants libdwarf to compile libdwarf. This could be a problem. I can't find stinking libdwarf anywhere on the Solaris CD's and no clue on the useless godforsaken Intertubes.
Where the hell is it ?
And here I thought MIPSPro was kind of a pain ....
(But I did discover that Sun likes to rename and reorganize every single part of their operating system for every release. Cool ! no wonder they went broke.)