OSDN Git Service

fbb26ef7414cd702d0e0b647017758d7c2ab9791
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / t-ppc
1 # Do not build libgcc1.
2 LIBGCC1 =
3 CROSS_LIBGCC1 =
4
5 # These are really part of libgcc1, but this will cause them to be
6 # built correctly, so... [taken from t-sparclite]
7 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
8
9 dp-bit.c: $(srcdir)/config/fp-bit.c
10         cat $(srcdir)/config/fp-bit.c > dp-bit.c
11
12 fp-bit.c: $(srcdir)/config/fp-bit.c
13         echo '#define FLOAT' > fp-bit.c
14         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
15
16 # Build libgcc.a with different options.  If no gas support, don't build
17 # explicit little endian or big endian libraries, since it depends on the
18 # -mbig/-mlittle switches passed to gas.
19
20 MULTILIB_OPTIONS        = msoft-float \
21                           mmultiple/mno-multiple
22
23 MULTILIB_DIRNAMES       = soft-float \
24                           multiple no-multiple
25
26 MULTILIB_MATCHES        = msoft-float=mcpu?403 \
27                           msoft-float=mcpu?mpc403 \
28                           msoft-float=mcpu?ppc403
29
30 LIBGCC = stmp-multilib
31 INSTALL_LIBGCC = install-multilib