summaryrefslogtreecommitdiff
blob: e73357b0831a2ac1b4754f6a7758a9cb7aa39b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
--- make.conf	2006-03-19 18:40:11.000000000 +0100
+++ make.conf.sparc	2006-03-19 18:26:21.000000000 +0100
@@ -23,6 +23,15 @@
 # Example:
 #USE="X gtk gnome -alsa"
 
+# Host Setting
+# ============
+# This should be left to the default value of sparc-unknown-linux-gnu unless
+# you are absolutely certain of the consequences.  In addition to potentially
+# destroying your system, you will recieve no support and your bugs will be 
+# marked INVALID if you change this.
+#
+# CHOST="sparc-unknown-linux-gnu"
+
 # Host and optimization settings 
 # ==============================
 #
@@ -33,10 +42,34 @@
 # package (and in some cases the libraries it uses) at default optimizations
 # before reporting errors to developers.
 #
-# Please refer to the GCC manual for a list of possible values.
-#
-#CFLAGS="-O2 -pipe"
-#
+# Sparc specific cpu optimizatiobn flags can be found here:
+# http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/SPARC-Options.html#SPARC%20Options
+# 
+# -mcpu=<cpu-type> means optimize code for the particular type of CPU without
+# breaking compatibility with other CPUs.
+#
+# -mtune=<cpu-type> set the instruction scheduling parameters for machine, but
+# do not set the instruction set or register set.
+#
+# Here is a list of each supported architecture and their supported
+# implementations:
+#
+# gcc-3.2 and higher:
+#    v7:             cypress
+#    v8:             supersparc, hypersparc
+#    sparclite:      f930, f934, sparclite86x
+#    sparclet:       tsc701
+#    v9:             ultrasparc
+#
+# Additionally in gcc-3.3 and higher:
+#    v9:             ultrasparc3
+#
+# Decent examples:
+#
+#CFLAGS="-mcpu=supersparc -O2 -pipe"
+#CFLAGS="-mcpu=ultrasparc -O2 -pipe"
+#CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe"
+
 # If you set a CFLAGS above, then this line will set your default C++ flags to
 # the same settings.
 #CXXFLAGS="${CFLAGS}"
@@ -61,7 +94,7 @@
 # DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST.
 # IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS.
 #
-#ACCEPT_KEYWORDS="~arch"
+#ACCEPT_KEYWORDS="~sparc"
 
 # Portage Directories
 # ===================