20 # or visit www.oracle.com if you need additional information or have any |
20 # or visit www.oracle.com if you need additional information or have any |
21 # questions. |
21 # questions. |
22 # |
22 # |
23 # |
23 # |
24 |
24 |
25 # Compiler-specific flags for sparcworks. |
25 # If a SPEC is not set already, then use these defaults. |
26 |
26 ifeq ($(SPEC),) |
27 # tell make which C and C++ compilers to use |
27 # Compiler-specific flags for sparcworks. |
28 CC = cc |
28 CC = cc |
29 CXX = CC |
29 CXX = CC |
30 |
30 |
31 # Note that this 'as' is an older version of the Sun Studio 'fbe', and will |
31 # Note that this 'as' is an older version of the Sun Studio 'fbe', and will |
32 # use the older style options. The 'fbe' options will match 'cc' and 'CC'. |
32 # use the older style options. The 'fbe' options will match 'cc' and 'CC'. |
33 AS = /usr/ccs/bin/as |
33 AS = /usr/ccs/bin/as |
34 |
34 |
35 NM = /usr/ccs/bin/nm |
35 NM = /usr/ccs/bin/nm |
36 NAWK = /bin/nawk |
36 NAWK = /bin/nawk |
|
37 |
|
38 MCS = /usr/ccs/bin/mcs |
|
39 STRIP = /usr/ccs/bin/strip |
|
40 endif |
37 |
41 |
38 REORDER_FLAG = -xF |
42 REORDER_FLAG = -xF |
39 |
43 |
40 # Check for the versions of C++ and C compilers ($CXX and $CC) used. |
44 # Check for the versions of C++ and C compilers ($CXX and $CC) used. |
41 |
45 |
555 LINK_INTO = LIBJVM |
559 LINK_INTO = LIBJVM |
556 else |
560 else |
557 #LINK_INTO = LIBJVM |
561 #LINK_INTO = LIBJVM |
558 endif |
562 endif |
559 |
563 |
560 MCS = /usr/ccs/bin/mcs |
|
561 STRIP = /usr/ccs/bin/strip |
|
562 |
|
563 # Solaris platforms collect lots of redundant file-ident lines, |
564 # Solaris platforms collect lots of redundant file-ident lines, |
564 # to the point of wasting a significant percentage of file space. |
565 # to the point of wasting a significant percentage of file space. |
565 # (The text is stored in ELF .comment sections, contributed by |
566 # (The text is stored in ELF .comment sections, contributed by |
566 # all "#pragma ident" directives in header and source files.) |
567 # all "#pragma ident" directives in header and source files.) |
567 # This command "compresses" the .comment sections simply by |
568 # This command "compresses" the .comment sections simply by |