[ECOS] Re: VFP and FPA incompatibilitieserrors when building latest anon sources with 3.2.1arm-elf

Mark Salter msalter@redhat.com
Mon Sep 20 21:58:00 GMT 2004


On Mon, 2004-09-20 at 14:07, Krishna Ganugapati wrote:
> Okay, so I've just pulled down a fresh (latest) cvs source installation. I'm 
> using my 3.2.1 big endian compiler which I've been using great so far. 
> (built off the ecos website instructions)
> 
> I get the following linker errors. This never happened till today...(i seem 
> to be steadily progressing backwards). Has anything changed by way of 
> makefiles?
> 

I added -mcpu=xscale to the CFLAGS. It may be that -mcpu=xscale is also
needed on the link line. Try this and see if it helps.

--Mark

*** hal_arm_xscale_ixdp425.cdl.~1.10.~	2004-09-07 11:05:20.000000000 -0400
--- hal_arm_xscale_ixdp425.cdl	2004-09-20 14:33:41.000000000 -0400
***************
*** 127,134 ****
              display "Global linker flags"
              flavor  data
              no_define
!             default_value { CYGHWR_HAL_ARM_BIGENDIAN ? "-mbig-endian -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib" :
! 	                    "-Wl,--gc-sections -Wl,-static -g -O2 -nostdlib " }
              description   "
                  This option controls the global linker flags. Individual
                  packages may define options which override these global flags."
--- 127,134 ----
              display "Global linker flags"
              flavor  data
              no_define
!             default_value { CYGHWR_HAL_ARM_BIGENDIAN ? "-mbig-endian -mcpu=xscale -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib" :
! 	                    "-mcpu=xscale -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib " }
              description   "
                  This option controls the global linker flags. Individual
                  packages may define options which override these global flags."



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list