This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
Re: v850 on newlib 1.8.2
- To: joel dot sherrill at OARcorp dot com
- Subject: Re: v850 on newlib 1.8.2
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Mon, 06 Dec 1999 16:16:06 -0500
- CC: newlib at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <384BB7CC.5BC48EE3@OARcorp.com>
Joel Sherrill wrote:
>
> configure.host specifies that v850 targets are to be built with this:
>
> newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850
> -mno-app-regs -msmall-sld"
>
> Unfortunately, gcc does not yet support at least the -msmall-sld option.
>
> --
> Joel Sherrill, Ph.D. Director of Research & Development
> joel@OARcorp.com On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985
Joel,
You are correct. This should be removed. The attached patch applied
in the devo/newlib directory makes the fix. ( patch <net182.patch ).
This patch is only required by users who are configuring a v850 build.
-- Jeff Johnston (Cygnus Solutions)
*** configure.host Mon Dec 6 21:06:15 1999
--- configure.host.new Mon Dec 6 21:06:29 1999
*************** case "${host_cpu}" in
*** 152,166 ****
;;
v850)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs -msmall-sld"
;;
v850e)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs -msmall-sld"
;;
v850ea)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs -msmall-sld"
;;
w65*)
machine_dir=w65
--- 152,166 ----
;;
v850)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs"
;;
v850e)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs"
;;
v850ea)
machine_dir=v850
! newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 -mno-app-regs"
;;
w65*)
machine_dir=w65