diff options
Diffstat (limited to 'gcc/config/crx/t-crx')
-rw-r--r-- | gcc/config/crx/t-crx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gcc/config/crx/t-crx b/gcc/config/crx/t-crx new file mode 100644 index 000000000..8bb62c652 --- /dev/null +++ b/gcc/config/crx/t-crx @@ -0,0 +1,37 @@ +# CRX Target Makefile +# +# Copyright (C) 2005 Free Software Foundation, Inc. +# +# This file is part of GCC. +# +# GCC is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GCC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. + +# Mingw specific compilation fixes +USE_COLLECT2 = +STMP_FIXINC = + +# Software emulation for integer div and mod +LIB2FUNCS_EXTRA = $(srcdir)/config/udivmodsi4.c $(srcdir)/config/udivmod.c $(srcdir)/config/divmod.c + +# Build the floating point emulation libraries. +FPBIT = fp-bit.c +DPBIT = 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 + +dp-bit.c: $(srcdir)/config/fp-bit.c + cat $(srcdir)/config/fp-bit.c > dp-bit.c |