This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Building toolchains for LEON processor
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: "Ren, Han Tao (Hans)" <renht at lucent dot com>
- Cc: 'Michele Portolan' <micheleportolan at yahoo dot it>,"'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 21 Aug 2003 13:25:12 +0100
- Subject: Re: [ECOS] Building toolchains for LEON processor
- References: <6999EF22C12CD4119A6800508B65021F0545FFAF@CI0027EXCH001U>
You have e-mailed ecos-discuss-owner, not the list. I've fixed that.
Ren, Han Tao (Hans) wrote:
I've downloaded leccs-linux-1.1.5.3.tar.gz and installed it.
But when I choose "LEON processor" in ECOS Configuration
tool and build the package, it failed.
make[1]: Entering directory
`/opt/ecos/ecos-2.0/leon_build/services/memalloc/common/v2_0'
sparc-rtems-gcc -msoft-float -Wall -Wpointer-arith -Wstrict-prototypes
-Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
-I/opt/ecos/ecos-2.0/leon_install/include
-I/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0
-I/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0/src
-I/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0/tests -I.
-Wp,-MD,heapgen.tmp -E
/opt/ecos/ecos-2.0/packages/services/memalloc/common/v2_0/src/heapgen.cpp -o
heapgeninc.tcl
make[1]: Leaving directory
`/opt/ecos/ecos-2.0/leon_build/services/memalloc/common/v2_0'
cpp: heapgen.tmp: No such file or directory
make: Leaving directory `/opt/ecos/ecos-2.0/leon_build'
cpp: Warning: `-x c' after last input file has no effect
According to the compiler's instructions:
"The LECCS directory tree is compiled to reside in the /opt/rtems
directory on all platforms. After obtaining the bzipped tarfile with the
binary distribution, uncompress and untar it in a suitable location - if
this is not /opt/rtems then a link have to be created to point to the
location of the LECCS directory."
So make sure you unpacked it according to the instructions, i.e.:
cd /opt
gunzip -c leccs-linux.tar.gz | tar xf -
gunzip -c leccs-docs-tools.tar.gz | tar xf -
gunzip -c leccs-docs-rtems.tar.gz | tar xf -
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss