[ECOS] Building toolchains for LEON processor

Ren, Han Tao (Hans) renht@lucent.com
Tue Aug 26 02:54:00 GMT 2003


Yes! it solved my problems. I installed the toolchains to 
some other directory.

Thank you so much!

Hans


-----Original Message-----
From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Sent: Thursday, August 21, 2003 8:25 PM
To: Ren, Han Tao (Hans)
Cc: 'Michele Portolan'; 'ecos-discuss@sources.redhat.com'
Subject: Re: [ECOS] Building toolchains for LEON processor


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



More information about the Ecos-discuss mailing list