public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] issue in building redboot while porting to leon
@ 2005-07-26  9:41 Harish Kulkarni
  2005-07-26 10:23 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Harish Kulkarni @ 2005-07-26  9:41 UTC (permalink / raw)
  To: ecos-discuss

Hello Group,
 
We are trying to port redboot on leon v8 processor
based board.
 
Is there any redboot patch for eCos on leon v8?
 
We are as of now using the patch ( ment for NIOS based
sparc v8) from 
the following link.
 
http://emsys.denayer.wenk.be/empro/leon2-redboot.diff
 
This patch uses sparc-rtems-gcc compiler, and we want
to use 
sparc-elf-gcc compiler, after installing the patch of
eCos 2.0 version,
 
we were able to use ecosconfig and configtool to get
to build 
environment, were after some changes we were able to
compile using 
sparc-elf-gcc, but found following issues;
 
make[1]: Entering directory
`/tmp/leonredboot/infra/v2_0'
sparc-elf-g++ -c  -I/tmp/leonredboot/install/include 
-I/opt/ecos/ecos-2.0/packages/infra/v2_0
-I/opt/ecos/ecos-2.0/packages/infra/v2_0/src 
-I/opt/ecos/ecos-2.0/
packages/infra/v2_0/tests -I. -I/opt/ecos/ecos 
2.0/packages/infra/v2_0/src/ -mso
ft-float -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef 
-Woverloaded -virtual -g -O2 -ffunction-sections
-fdata-sections -fno-rtti 
-fno-exceptions -f vtable-gc  -Wp,-MD,src/diag.tmp -o
src/infra_diag.o 
/opt/ecos/ecos-2.0/packages/
infra/v2_0/src/diag.cxx
cc1plus: warning: command line option
"-Wstrict-prototypes" is valid 
for C/ObjC
but not for C++
cc1plus: warning: switch "-fvtable-gc" is no longer
supported
/opt/ecos/ecos-2.0/packages/infra/v2_0/src/diag.cxx:90:
error: 
`init_priority' attribute is not supported on this
platform
make[1]: *** [src/diag.o.d] Error 1
make[1]: Leaving directory
`/tmp/leonredboot/infra/v2_0'
 
We are not getting the soultion to this problem,
please help us in this 
regard.
 
We are using following version of sparc-elf-gcc
 
$ sparc-elf-gcc --version
sparc-elf-gcc (GCC) 3.4.0 20040317 (prerelease)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions.  There is 
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR
A PARTICULAR 
PURPOSE.
 
-Thanks
Hari

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] issue in building redboot while porting to leon
  2005-07-26  9:41 [ECOS] issue in building redboot while porting to leon Harish Kulkarni
@ 2005-07-26 10:23 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2005-07-26 10:23 UTC (permalink / raw)
  To: Harish Kulkarni; +Cc: ecos-discuss

On Tue, Jul 26, 2005 at 10:28:11AM +0100, Harish Kulkarni wrote:
> Hello Group,
>  
> We are trying to port redboot on leon v8 processor
> based board.
>  
> Is there any redboot patch for eCos on leon v8?

http://bugs.ecos.sourceware.org/

See #1000154, #1000155, #1000156

> /opt/ecos/ecos-2.0/packages/
> infra/v2_0/src/diag.cxx
> cc1plus: warning: command line option
> "-Wstrict-prototypes" is valid 
> for C/ObjC
> but not for C++
> cc1plus: warning: switch "-fvtable-gc" is no longer
> supported

These are not too serious. When you upgrade from the old 2.0 to the
latest anoncvs version these will go away.

> /opt/ecos/ecos-2.0/packages/infra/v2_0/src/diag.cxx:90:
> error: 
> `init_priority' attribute is not supported on this
> platform

This is bad. You cannot build eCos without this.  You need to find a
different version of the compiler which supports this. Try:

http://www.gaisler.com/doc/libio/bcc.html

        Andrew

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-26 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-26  9:41 [ECOS] issue in building redboot while porting to leon Harish Kulkarni
2005-07-26 10:23 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).