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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config.build] - Blame information for rev 849

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

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

powered by: WebSVN 2.1.0

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