This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] hppa--netbsd support
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: matt at 3am-software dot com, gcc-patches at gcc dot gnu dot org
- Date: Tue, 14 Oct 2003 14:57:10 -0400
- Subject: 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