3 # Copyright (C) 2003 Free Software Foundation, Inc.
5 # This file is part of GCC.
7 # GCC is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3, or (at your option)
12 # GCC is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
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 # <http://www.gnu.org/licenses/>.
24 dp-bit.c: $(srcdir)/config/fp-bit.c
25 cat $(srcdir)/config/fp-bit.c > dp-bit.c
27 fp-bit.c: $(srcdir)/config/fp-bit.c
28 echo '#define FLOAT' > fp-bit.c
29 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
31 LIBGCC = stmp-multilib
32 INSTALL_LIBGCC = install-multilib
34 # What we really want are these variants:
36 # -mcpu=7400 -maltivec -mabi=altivec
37 # -mcpu=7400 -msoft-float
39 # -mspe=no -mabi=no-spe -misel=no
40 # so we'll need to create exceptions later below.
42 MULTILIB_OPTIONS = mcpu=7400 \
51 MULTILIB_DIRNAMES = mpc7400 altivec abi-altivec \
52 nof no-spe no-abi-spe no-isel le
54 MULTILIB_EXCEPTIONS = maltivec mabi=altivec mspe=no mabi=no-spe misel=no \
55 maltivec/mabi=altivec \
57 mcpu=7400/mabi=altivec \
58 *mcpu=7400/*mspe=no* \
59 *mcpu=7400/*mabi=no-spe* \
60 *mcpu=7400/*misel=no* \
61 *maltivec/*msoft-float* \
63 *maltivec/*mabi=no-spe* \
64 *maltivec/*misel=no* \
65 *mabi=altivec/*msoft-float* \
66 *mabi=altivec/*mspe=no* \
67 *mabi=altivec/*mabi=no-spe* \
68 *mabi=altivec/*misel=no* \
69 *msoft-float/*mspe=no* \
70 *msoft-float/*mabi=no-spe* \
71 *msoft-float/*misel=no* \
74 mabi=no-spe/misel=no \
76 mabi=no-spe/misel=no/mlittle \
79 mcpu=7400/mabi=altivec/mlittle \
80 mcpu=7400/maltivec/mlittle \
82 mspe=no/misel=no/mlittle \
83 mspe=no/mabi=no-spe/mlittle \
84 mabi=altivec/mlittle \
86 maltivec/mabi=altivec/mlittle