Initial revision
[official-gcc.git] / gcc / config / rs6000 / t-xrs6000
blobf5d34d658b7d8d272976e824b08743752a2dba4d
1 # Same as t-rs6000, except don't build libgcc1-test.  This is because
2 # the compiler emits code to call external functions to save the
3 # arguments that are in libc, but since libgcc1-test is linked without
4 # libc, they will show up as errors.
5 LIBGCC1_TEST =
7 # Do not build libgcc1.
8 LIBGCC1 =
9 CROSS_LIBGCC1 =
11 # These are really part of libgcc1, but this will cause them to be
12 # built correctly, so... [taken from t-sparclite]
13 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
15 dp-bit.c: $(srcdir)/config/fp-bit.c
16         cat $(srcdir)/config/fp-bit.c > dp-bit.c
18 fp-bit.c: $(srcdir)/config/fp-bit.c
19         echo '#define FLOAT' > fp-bit.c
20         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
22 # Build the libraries for both hard and soft floating point
24 MULTILIB_OPTIONS = msoft-float
25 MULTILIB_DIRNAMES = soft-float
27 LIBGCC = stmp-multilib
28 INSTALL_LIBGCC = install-multilib