This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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 for Haiku OS.


Andrew McCall <andrew.mccall@gmail.com> writes:

> diff -rcp binutils-2.15/config.guess binutils-2.15.totallypatched/config.guess
> *** binutils-2.15/config.guess	Mon May 17 20:36:20 2004
> --- binutils-2.15.totallypatched/config.guess	Wed Jul  6 11:32:48 2005
> *************** EOF
> *** 1171,1176 ****
> --- 1171,1184 ----
>       BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
>   	echo i586-pc-beos
>   	exit 0 ;;
> +     *:Haiku:*:*)	# Hiaku running on Intel, PowerPC or SPARC systems.
> +         case `uname -p` in
> +             *86) UNAME_PROCESSOR=i586 ;;
> +             powerpc) UNAME_PROCESSOR=powerpc ;;
> + 	    sparc) UNAME_PROCESSOR=sparc;;
> +         esac
> +         echo ${UNAME_PROCESSOR}-pc-haiku
> +         exit 0 ;;
>       SX-4:SUPER-UX:*:*)
>   	echo sx4-nec-superux${UNAME_RELEASE}
>   	exit 0 ;;
> diff -rcp binutils-2.15/config.sub binutils-2.15.totallypatched/config.sub
> *** binutils-2.15/config.sub	Mon May 17 20:36:20 2004
> --- binutils-2.15.totallypatched/config.sub	Wed Jul  6 11:32:48 2005

Patches for config.{guess,sub} should be sent to <config-patches@gnu.org>.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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