aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRobert Millan <robertmh@gnu.org>2003-10-21 09:52:47 +0000
committerDavid S. Miller <davem@gcc.gnu.org>2003-10-21 02:52:47 -0700
commite2befd7d4bbecf0faf062e6692b589a1e0ed0de1 (patch)
tree6bc6663457673c05b20526a6138c2e83091e9f9b /gcc/config.gcc
parent2426d8dd9e129a0270f152e758380f35ef074bb7 (diff)
downloadgcc-e2befd7d4bbecf0faf062e6692b589a1e0ed0de1.zip
gcc-e2befd7d4bbecf0faf062e6692b589a1e0ed0de1.tar.gz
gcc-e2befd7d4bbecf0faf062e6692b589a1e0ed0de1.tar.bz2
kfreebsdgnu.h: New.
2003-09-28 Robert Millan <robertmh@gnu.org> * config/i386/kfreebsdgnu.h: New. i386-*-kfreebsd-gnu definitions. * config/kfreebsdgnu.h: New. *-*-kfreebsd-gnu definitions. * config/t-kfreebsd-gnu: New. *-*-kfreebsd-gnu tmake_file. * config.gcc: Add *-*-kfreebsd*-gnu and i[34567]86-*-kfreebsd*-gnu. From-SVN: r72744
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7e4c820..1446f11 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -406,6 +406,17 @@ case ${target} in
esac
fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h"
;;
+*-*-kfreebsd*-gnu)
+ # Must come before *-*-gnu*
+ xm_defines=POSIX # needed for cross-compiling from FreeBSD?
+ extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
+ # GNU tools are the only tools.
+ gas=yes
+ gnu_ld=yes
+ case ${enable_threads} in
+ "" | yes | posix) thread_file='posix' ;;
+ esac
+ ;;
*-*-linux*libc1* | *-*-linux*aout*)
# Avoid the generic linux case.
;;
@@ -953,6 +964,12 @@ x86_64-*-linux*)
i386/x86-64.h i386/linux64.h"
tmake_file="t-slibgcc-elf-ver t-linux i386/t-linux64"
;;
+i[34567]86-*-kfreebsd*-gnu) # must be before i[34567]86-*-gnu*
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h kfreebsdgnu.h i386/kfreebsdgnu.h"
+ tmake_file="t-slibgcc-elf-ver t-kfreebsd-gnu i386/t-crtstuff"
+ float_format=i386
+ use_fixproto=no
+ ;;
i[34567]86-*-gnu*)
;;
i[34567]86-pc-msdosdjgpp*)