c8a0e2f4c6
This commit finalizes support for cross compilation. The tools directory are all links to the actual tools and are built on the host system to build Minix. build.sh is the work horse that takes care of all environment settings. It's slightly adjusted for Minix. The /usr/src/Makefile has additional targets needed for cross compilation.
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
$NetBSD: patch-ae,v 1.1 2006/02/26 23:59:41 joerg Exp $
|
|
|
|
--- ld/configure.tgt.orig Wed Apr 5 12:41:57 2006
|
|
+++ ld/configure.tgt
|
|
@@ -145,6 +145,8 @@ i[3-7]86-*-bsd) targ_emul=i386bsd ;;
|
|
i[3-7]86-*-bsd386) targ_emul=i386bsd ;;
|
|
i[3-7]86-*-bsdi*) targ_emul=i386bsd ;;
|
|
i[3-7]86-*-aout) targ_emul=i386aout ;;
|
|
+i[3-7]86-*-minix) targ_emul=elf_i386_minix
|
|
+ targ_extra_emuls="elf_i386" ;;
|
|
i[3-7]86-*-linux*aout*) targ_emul=i386linux
|
|
targ_extra_emuls=elf_i386
|
|
tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'` ;;
|
|
@@ -194,7 +197,7 @@ x86_64-*-elf*) targ_emul=elf_x86_64
|
|
i[3-7]86-*-kaos*) targ_emul=elf_i386 ;;
|
|
i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12])
|
|
targ_emul=i386bsd ;;
|
|
-i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)
|
|
+i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
|
|
targ_emul=elf_i386_fbsd
|
|
targ_extra_emuls="elf_i386 i386bsd" ;;
|
|
x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
|
|
@@ -583,6 +586,10 @@ case "${target}" in
|
|
|
|
*-*-freebsd*)
|
|
NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib'
|
|
+ ;;
|
|
+
|
|
+*-*-dragonfly*)
|
|
+ NATIVE_LIB_DIRS='/lib /usr/lib'
|
|
;;
|
|
|
|
hppa*64*-*-hpux11*)
|