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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [config.build] - Blame information for rev 280

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 280 jeremybenn
# GCC build-specific configuration file.
2
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008, 2009
3
# Free Software Foundation, Inc.
4
 
5
#This file is part of GCC.
6
 
7
#GCC is free software; you can redistribute it and/or modify it under
8
#the terms of the GNU General Public License as published by the Free
9
#Software Foundation; either version 3, or (at your option) any later
10
#version.
11
 
12
#GCC is distributed in the hope that it will be useful, but WITHOUT
13
#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
#FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15
#for more details.
16
 
17
#You should have received a copy of the GNU General Public License
18
#along with GCC; see the file COPYING3.  If not see
19
#.
20
 
21
# This is the GCC build-specific configuration file
22
# where a configuration type is mapped to different system-specific
23
# definitions and files.  This is invoked by the autoconf-generated
24
# configure script.  Putting it in a separate shell file lets us skip
25
# running autoconf when modifying build-specific information.
26
 
27
# This file switches on the shell variable ${build}.  As much of this
28
# as possible should be replaced with autoconf tests in the future.
29
 
30
# This file sets the following shell variables for use by the
31
# autoconf-generated configure script:
32
#
33
#  build_xm_defines     List of macros to define when compiling for the
34
#                       build machine.
35
#
36
#  build_xm_file        List of files to include when compiling for the
37
#                       build machine.
38
#
39
#  build_install_headers_dir
40
#                       Target to use when installing header files.
41
#
42
#  build_exeext         Set to the suffix, if the build machine requires
43
#                       executables to have a file name suffix.
44
 
45
# Default settings.
46
build_xm_file=
47
build_xm_defines=
48
build_exeext=
49
build_install_headers_dir=install-headers-tar
50
build_file_translate=
51
 
52
# System-specific settings.
53
case $build in
54
  alpha*-dec-osf4*)
55
    # Some versions of OSF4 (specifically X4.0-9 296.7) have
56
    # a broken tar, so we use cpio instead.
57
    build_install_headers_dir=install-headers-cpio
58
    ;;
59
  alpha64-dec-*vms*)
60
    build_xm_file="vms/xm-vms.h vms/xm-vms64.h"
61
    build_exeext=.exe
62
    build_install_headers_dir=install-headers-cp
63
    prefix=/gnu
64
    local_prefix=/gnu/local
65
    ;;
66
  alpha*-dec-*vms*)
67
    build_xm_file="vms/xm-vms.h"
68
    build_exeext=.exe
69
    build_install_headers_dir=install-headers-cp
70
    prefix=/gnu
71
    local_prefix=/gnu/local
72
    ;;
73
  hppa1.0-*-hpux1[01]* | \
74
  hppa*64*-*-hpux11* | \
75
  hppa1.1-*-hpux11* | \
76
  hppa2*-*-hpux11* )
77
    build_install_headers_dir=install-headers-cpio
78
    ;;
79
  i370-*-opened* | i370-*-mvs* )
80
    # IBM 360/370/390 Architecture
81
    build_xm_defines='FATAL_EXIT_CODE=12'
82
    ;;
83
  i[34567]86-*-cygwin* | i[34567]86-*-pe )
84
    build_xm_file=i386/xm-cygwin.h
85
    build_exeext=.exe
86
    ;;
87
  i[34567]86-*-mingw32* | x86_64-*-mingw*)
88
    build_xm_file=i386/xm-mingw32.h
89
    build_exeext=.exe
90
    t=`(CMD //c echo /c) 2>/dev/null`
91
    case $t in ?:*)
92
      build_file_translate="CMD //c"
93
      ;;
94
    esac
95
    ;;
96
  i[34567]86-pc-msdosdjgpp*)
97
    build_xm_file=i386/xm-djgpp.h
98
    build_exeext=.exe
99
    ;;
100
  i[34567]86-*-sco3.2v5*)
101
    # 80386 running SCO Open Server 5
102
    build_install_headers_dir=install-headers-cpio
103
    ;;
104
  i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4* )
105
    build_install_headers_dir=install-headers-cpio
106
    ;;
107
  i[34567]86-*-sysv4*)
108
    # Intel x86 running system V r4
109
    build_install_headers_dir=install-headers-cpio
110
    ;;
111
  i[34567]86-*-udk*)
112
    # Intel x86 on SCO UW/OSR5 Dev Kit
113
    build_install_headers_dir=install-headers-cpio
114
    ;;
115
  i[34567]86-*-uwin*)
116
    build_exeext=.exe
117
    ;;
118
  i386-*-vsta)
119
    # Intel 80386's running VSTa kernel
120
    ;;
121
  ia64-hp-*vms*)
122
    build_xm_file="vms/xm-vms.h vms/xm-vms64.h"
123
    build_exeext=.exe
124
    build_install_headers_dir=install-headers-cp
125
    prefix=/gnu
126
    local_prefix=/gnu/local
127
    ;;
128
  m68000-hp-hpux* | m68k-hp-hpux*)
129
    # HP 9000 series 300
130
    build_install_headers_dir=install-headers-cpio
131
    ;;
132
  *-*-sysv*)
133
    # All other System V variants.
134
    build_install_headers_dir=install-headers-cpio
135
    ;;
136
esac
137
 

powered by: WebSVN 2.1.0

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