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]

issue in building redboot while porting to leon


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


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