NetBSD/gnu/dist/gcc/config/rs6000/t-beos

52 lines
1.6 KiB
Plaintext

# Do not build libgcc1.
LIBGCC1 =
CROSS_LIBGCC1 =
# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
dp-bit.c: $(srcdir)/config/fp-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
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
# Build the libraries for both hard and soft floating point
MULTILIB_OPTIONS = msoft-float mcpu=common
MULTILIB_DIRNAMES = soft-float common
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib
# This is probably the correct define, to override the Makefile
# default, but using it causes more problems than it solves.
#
# Using it will cause fixincludes to try and fix some of the
# mwcc header files, which it seems to do a poor job of. On
# the other hand, not using it will only cause the gcc version
# of limits.h to lack the header and trailer parts that are
# tacked on to it when there is a limits.h in the system header
# dir.
#
# For now it is probably better to change the rule for
# LIMITS_H_TEST to explicitly look for the BeOS limits.h.
# If the gcc limits.h is not set up to #include_next the
# BeOS limits.h, then some things will go undefined, like
# PATH_MAX.
#SYSTEM_HEADER_DIR=/boot/develop/headers/posix
# Test to see whether <limits.h> exists in the system header files.
LIMITS_H_TEST = [ -f /boot/develop/headers/posix/limits.h ]
# Aix 3.2.x needs milli.exp for -mcpu=common
EXTRA_PARTS = milli.exp
milli.exp: $(srcdir)/config/rs6000/milli.exp
rm -f milli.exp
cp $(srcdir)/config/rs6000/milli.exp ./milli.exp
# Don't use collect.
USE_COLLECT2 =