mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-08 20:02:47 +01:00
28 lines
945 B
Plaintext
28 lines
945 B
Plaintext
LIBGCC1 =
|
|
CROSS_LIBGCC1 =
|
|
|
|
# We don't want to put exit in libgcc.a for VxWorks, because VxWorks
|
|
# does not have _exit.
|
|
TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit
|
|
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c xp-bit.c
|
|
|
|
dp-bit.c: $(srcdir)/config/fp-bit.c
|
|
echo '#define FLOAT_BIT_ORDER_MISMATCH' > dp-bit.c
|
|
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
|
|
|
|
fp-bit.c: $(srcdir)/config/fp-bit.c
|
|
echo '#define FLOAT' > fp-bit.c
|
|
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
|
|
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
|
|
|
xp-bit.c: $(srcdir)/config/fp-bit.c
|
|
echo '#define EXTENDED_FLOAT_STUBS' > xp-bit.c
|
|
cat $(srcdir)/config/fp-bit.c >> xp-bit.c
|
|
|
|
MULTILIB_OPTIONS=mnumerics/msoft-float
|
|
MULTILIB_DIRNAMES=float soft-float
|
|
MULTILIB_MATCHES=mnumerics=msb mnumerics=msc mnumerics=mkb mnumerics=mkc mnumerics=mmc mnumerics=mcb mnumerics=mcc msoft-float=msa msoft-float=mka msoft-float=mca msoft-float=mcf
|
|
|
|
LIBGCC = stmp-multilib
|
|
INSTALL_LIBGCC = install-multilib
|