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: Context.s problem


On Tue, 2004-09-14 at 08:17, Meulendijks, J. wrote:
> I don't know if this information helps anybody. But I think this problem has
> something to do with assembly and the compiler. Because when I work around the
> problem raised with context.s I get another error on variant.s. I can work
> around this problem as well but that is not the answer for my problem. I need to
> get the source of the problem!
> Does anybody have an idea??
> 

Check the instructions carefully for how you have your volumes mounted.
CygWin can make a mess of things (text files, etc) when the disks are
accessed incorrectly.

Note: I don't have the correct settings at hand (so don't ask) since I
don't use CygWin, but I know they are in the documentation.

> 
> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch]
> Sent: maandag 13 september 2004 09:11
> To: Meulendijks, J.
> Cc: 'ecos-discuss@sources.redhat.com'
> Subject: Re: [ECOS] Context.s problem
> 
> 
> On Mon, Sep 13, 2004 at 08:54:02AM +0200, Meulendijks, J. wrote:
> > GCC version 3.3.1
> > 
> > -----Original Message-----
> > From: Andrew Lunn [mailto:andrew@lunn.ch]
> > Sent: maandag 13 september 2004 08:51
> > To: Meulendijks, J.
> > Cc: 'ecos-discuss@sources.redhat.com'
> > Subject: Re: [ECOS] Context.s problem
> > 
> > 
> > On Mon, Sep 13, 2004 at 08:49:12AM +0200, Meulendijks, J. wrote:
> > > When I try to build a library in Ecos configtool 2.11 I get the following
> > > errors:
> > > 
> > > powerpc-eabi-gcc -c
> > > -I/ecos-c/Cygwin/opt/ecos/ecos-2.0/eCos-Work/ec555_install/include
> > > -I/ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0
> > > -I/ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src
> > > -I/ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/tests -I.
> > > -I/ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/
> > -mcpu=505
> > > -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
> > -Woverloaded-virtual
> > > -g -O2 -ffunction-sections -fdata-sections -mmultiple -fno-rtti
> > -fno-exceptions
> > > -finit-priority -Wp,-MD,src/context.tmp -o src/hal_powerpc_arch_context.o
> > >
> /ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/context.S
> > >
> /ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/context.S:
> > > Assembler messages:
> > >
> >
> /ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/context.S:11
> > > 7: Error: unsupported relocation against CYGARC_PPC_CONTEXT_SIZE
> > >
> >
> /ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/context.S:12
> > > 4: Error: unsupported relocation against CYGARC_PPCREG_REGS
> > >
> >
> /ecos-c/Cygwin/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/context.S:12
> > 
> > What version of gcc are you using?
> > 
> >         Andrew
> 
> The pre-built toolchain eCosCentric provide is 3.2.1. That is known to
> work.
> 
>         Andrew
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
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]