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]

Re: [PATCH] hppa--netbsd support


>2003-10-14 Matt Thomas <matt@3am-software.com>
> 
>
>        config.gcc: add hppa*-*-netbsd* clause.
>        config/pa/pa-netbsd.h: New file.
>        config/pa/pa32-netbsd.h: New file.
>        config/pa/t-netbsd: New file.

(from the patch to config.gcc...)
+hppa*-*-netbsd* | parisc*-*-netbsd*)
+	target_cpu_default="MASK_PA_11 | MASK_NO_SPACE_REGS"
+	tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h \
+		 pa/pa-netbsd.h pa/pa32-regs.h pa/pa32-netbsd.h"
+	tmake_file="pa/t-netbsd"
+	;;

You don't want to be doing this.  Why are you overriding the default
netbsd ${tmake_file} completely?

Here is the default, from earlier in config.gcc.
  tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic"

You probably want
+	tmake_file="${tmake_file} pa/t-netbsd"
instead.

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html


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