This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

Re: build/config/run problems


Gary Thomas wrote:
> 
> On 07-Apr-00 Paul Kinzelman wrote:
> > Then I make a config according to the page ecos-tutorial.11.html
> > under 'Selecting a Target':
> >     cd <work directory>
> >     ecosconfig new edb7211
> >     ecosconfig tree
> > under 'Using the command line'. I connect to the work area and do:
> >     make tests
> > but I get a pile of 'nothing to be done for...' printouts, then:
> >   headers finished
> >   make -r -C hal/arm/arch/v1_3_1 arm.inc
> >   make[1]: Entering directory
> > `/misc/exp/linux/research/ecos/wk/hal/arm/arch/v1_3_1'
> >   arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes
> > -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections
> > -fdata-sections -fno-rtti -fno-exceptions -fvtable- gc -finit-priority
> > -I/misc/exp/linux/research/ecos/wk/install/include -I/opt/ecos/ecos-
> > 1.3.1/packages/hal/arm/arch/v1_3_1
> > -I/opt/ecos/ecos-1.3.1/packages/hal/arm/arch/v1_3_1/src -
> > I/opt/ecos/ecos-1.3.1/packages/hal/arm/arch/v1_3_1/tests -I. -Wp,-MD,arm.tmp
> > -o hal_mk_defs.tmp -S
> > /opt/ecos/ecos-1.3.1/packages/hal/arm/arch/v1_3_1/src/hal_mk_defs.c
> >   cpp: too many input files
> > I did build arm-elf-gcc on a server (Pent-3 I think), and am
> > trying to run it on my Pentium-233 so maybe gcc built on the
> > server won't run correctly?

I recognise this. You get this error if you move a gcc 2.95.2 toolchain
from where you specified it be placed when you built it i.e. the --prefix
and --exec-prefix paths. As a short term measure you could set soft-links
from the --prefix/exec-prefix paths to where you now have them on your
P-233 machine.

The alternative is rebuilding the tools on your P-233 machine in the right
place. Or building a gcc snapshot which has magic to make the toolchains
relocatable - but you don't want a gcc snapshot, trust me :-).

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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