This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add 'clean' x86_64-elf target-support


Hi!

This patch makes it possible to build a 'clean' x86_64-elf toolchain,
i.e. with any Linux or *BSD-specific hooks.

I also had to patch binutils a bit, to get a complete toolchain. Those
patches will be sent to the binutils mailing list in a bit.

Anyway, this was all I needed to get GCC to build.

Regards,
Mikkel

P.S.
If you have any comments, please CC me, as I'm not subscribed to this
list.





 config.gcc |    5 +++++
 1 files changed, 5 insertions(+)

--- clean/gcc/config.gcc
+++ dirty/gcc/config.gcc
@@ -902,6 +902,11 @@
 	tmake_file="i386/t-i386elf t-svr4"
 	use_fixproto=yes
 	;;
+x86_64-*-elf*)
+	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/x86-64.h"
+	tmake_file="i386/t-i386elf t-svr4"
+	use_fixproto=yes
+	;;
 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
 	if test x$gas = xyes
 	then



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]