This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: Re: VFP and FPA incompatibilitieserrors when building latest anonsources with 3.2.1arm-elf


Hi Mark,
That was it.  Thanks! I'll get back to the flash problem..

Krishna
-------------------------------------------------
----- Original Message ----- From: "Mark Salter" <msalter@redhat.com>
To: "Krishna Ganugapati" <krishnag@marakicorp.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Monday, September 20, 2004 11:34 AM
Subject: [ECOS] Re: VFP and FPA incompatibilitieserrors when building latest anonsources with 3.2.1arm-elf



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



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


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