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.
15 lines
359 B
Text
15 lines
359 B
Text
$NetBSD$
|
|
|
|
--- gas/config/tc-i386.h.orig Mon Feb 27 15:35:37 2006
|
|
+++ gas/config/tc-i386.h
|
|
@@ -59,6 +59,10 @@ extern unsigned long i386_mach (void);
|
|
#define ELF_TARGET_FORMAT "elf32-i386-vxworks"
|
|
#endif
|
|
|
|
+#ifdef TE_MINIX
|
|
+#define ELF_TARGET_FORMAT "elf32-i386-minix"
|
|
+#endif
|
|
+
|
|
#ifndef ELF_TARGET_FORMAT
|
|
#define ELF_TARGET_FORMAT "elf32-i386"
|
|
#endif
|