OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc4/] [libstdc++-v3/] [doc/] [xml/] [manual/] [prerequisites.xml] - Blame information for rev 519

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 424 jeremybenn
2
3
 
4
5
  
6
    
7
      ISO C++
8
    
9
    
10
      Prerequisites
11
    
12
  
13
14
 
15
Prerequisites
16
 
17
18
  Because libstdc++ is part of GCC, the primary source for
19
   installation instructions is
20
   the GCC install page.
21
   In particular, list of prerequisite software needed to build the library
22
   
23
   starts with those requirements. The same pages also list
24
   the tools you will need if you wish to modify the source.
25
26
 
27
  
28
   Additional data is given here only where it applies to libstdc++.
29
  
30
 
31
   As of GCC 4.0.1 the minimum version of binutils required to build
32
      libstdc++ is 2.15.90.0.1.1. You can get snapshots
33
      (as well as releases) of binutils from
34
      
35
      ftp://sources.redhat.com/pub/binutils.
36
      Older releases of libstdc++ do not require such a recent version,
37
      but to take full advantage of useful space-saving features and
38
      bug-fixes you should use a recent binutils whenever possible.
39
      The configure process will automatically detect and use these
40
      features if the underlying support is present.
41
   
42
 
43
   
44
   Finally, a few system-specific requirements:
45
   
46
 
47
   
48
      
49
        linux
50
 
51
        
52
        
53
          If gcc 3.1.0 or later on is being used on linux, an attempt
54
          will be made to use "C" library functionality necessary for
55
          C++ named locale support.  For gcc 3.2.1 and later, this
56
          means that glibc 2.2.5 or later is required and the "C"
57
          library de_DE locale information must be installed.
58
        
59
 
60
        
61
          Note however that the sanity checks involving the de_DE
62
          locale are skipped when an explicit --enable-clocale=gnu
63
          configure option is used: only the basic checks are carried
64
          out, defending against misconfigurations.
65
        
66
 
67
        
68
          If the 'gnu' locale model is being used, the following
69
          locales are used and tested in the libstdc++ testsuites.
70
          The first column is the name of the locale, the second is
71
          the character set it is expected to use.
72
        
73
74
de_DE               ISO-8859-1
75
de_DE@euro          ISO-8859-15
76
en_GB               ISO-8859-1
77
en_HK               ISO-8859-1
78
en_PH               ISO-8859-1
79
en_US               ISO-8859-1
80
en_US.ISO-8859-1    ISO-8859-1
81
en_US.ISO-8859-15   ISO-8859-15
82
en_US.UTF-8         UTF-8
83
es_ES               ISO-8859-1
84
es_MX               ISO-8859-1
85
fr_FR               ISO-8859-1
86
fr_FR@euro          ISO-8859-15
87
is_IS               UTF-8
88
it_IT               ISO-8859-1
89
ja_JP.eucjp         EUC-JP
90
ru_RU.ISO-8859-5    ISO-8859-5
91
ru_RU.UTF-8         UTF-8
92
se_NO.UTF-8         UTF-8
93
ta_IN               UTF-8
94
zh_TW               BIG5
95
96
 
97
      Failure to have the underlying "C" library locale
98
      information installed will mean that C++ named locales for the
99
      above regions will not work: because of this, the libstdc++
100
      testsuite will skip the named locale tests. If this isn't an
101
      issue, don't worry about it. If named locales are needed, the
102
      underlying locale information must be installed. Note that
103
      rebuilding libstdc++ after the "C" locales are installed is not
104
      necessary.
105
      
106
 
107
      
108
        To install support for locales, do only one of the following:
109
      
110
 
111
      
112
        
113
          install all locales
114
          
115
            
116
              with RedHat Linux:
117
              
118
                export LC_ALL=C 
119
              
120
                rpm -e glibc-common --nodeps 
121
              
122
              
123
                 rpm -i --define "_install_langs all"
124
                 glibc-common-2.2.5-34.i386.rpm
125
                
126
              
127
            
128
             
129
             
130
               Instructions for other operating systems solicited.
131
             
132
             
133
          
134
        
135
        
136
          install just the necessary locales
137
          
138
            
139
              with Debian Linux:
140
               Add the above list, as shown, to the file
141
              /etc/locale.gen 
142
               run /usr/sbin/locale-gen 
143
            
144
            
145
              on most Unix-like operating systems:
146
               localedef -i de_DE -f ISO-8859-1 de_DE 
147
              (repeat for each entry in the above list) 
148
            
149
            
150
            
151
               Instructions for other operating systems solicited.
152
            
153
            
154
          
155
        
156
      
157
      
158
      
159
   
160
 
161

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.