v850 on newlib 1.8.2
J. Johnston
jjohnstn@cygnus.com
Mon Dec 6 13:16:00 GMT 1999
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
More information about the Newlib
mailing list