~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/9a/9a5556602438c8a9e0483c63a07b4b226c3a963d.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
LOCPATH=`pwd`/locales
 
4
export LOCPATH
 
5
 
 
6
[ -d $LOCPATH ] || mkdir -p $LOCPATH
 
7
 
 
8
umask 022
 
9
 
 
10
echo "Generating locales..."
 
11
while read locale charset; do
 
12
        case $locale in \#*) continue;; esac
 
13
        [ -n "$locale" -a -n "$charset" ] || continue
 
14
        echo -n "  `echo $locale | sed 's/\([^.\@]*\).*/\1/'`"
 
15
        echo -n ".$charset"
 
16
        echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`
 
17
        echo -n '...'
 
18
        if [ -f $LOCPATH/$locale ]; then
 
19
            input=$locale
 
20
        else
 
21
            input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`
 
22
        fi
 
23
        localedef -i $input -c -f $charset $LOCPATH/$locale #-A /etc/locale.alias
 
24
        echo ' done'; \
 
25
done <<EOF
 
26
# This file lists locales that the libstdc++ testsuite depends on
 
27
de_DE                   ISO-8859-1
 
28
de_DE@euro              ISO-8859-15
 
29
en_HK                   ISO-8859-1
 
30
en_PH                   ISO-8859-1
 
31
en_US                   ISO-8859-1
 
32
en_US.ISO-8859-1        ISO-8859-1
 
33
en_US.ISO-8859-15       ISO-8859-15
 
34
en_US.UTF-8             UTF-8
 
35
es_ES                   ISO-8859-1
 
36
es_MX                   ISO-8859-1
 
37
fr_FR                   ISO-8859-1
 
38
fr_FR@euro              ISO-8859-15
 
39
is_IS                   ISO-8859-1
 
40
is_IS.UTF-8             UTF-8
 
41
it_IT                   ISO-8859-1
 
42
ja_JP.eucjp             EUC-JP
 
43
se_NO.UTF-8             UTF-8
 
44
ta_IN                   UTF-8
 
45
zh_TW                   BIG5
 
46
EOF
 
47
 
 
48
echo "Generation complete."