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]

toolchain build problem


HI,

Im currently trying to build the toolchain for a Pentium PC running XP.  I
am going through the steps in the 'Building a toolchain for use with eCos'
page.  I have successfully completed the 'Preparing the sources for
building' part.

I have then run the following as part of the 'building the toolchain'
section, but it FAILS during make, see below:

1.Configure the GNU binary utilities:

mkdir -p /tmp/build/binutils
cd /tmp/build/binutils
/src/binutils-2.13.1/configure --target=i386-elf \
  --prefix=/gnutools -v 2>&1 | tee configure.out
 and I have a config.status file which looks like this:

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
./../../src/binutils-2.13.1/configure --host=i686-pc-cygwin --target=i386-e
lf --prefix=/gnutools -v --norecursion
# using "mh-frag"

So all looks good, until I run the next part, which is


2.Build and install the GNU binary utilities:

         make -w all install 2>&1 | tee make.out

My make.out file looks like this (well the last few lines of it)

gcc -o chew.exe chew.o
/chew.exe -f ../../../../../src/binutils-2.13.1/bfd/doc/doc.str
<../../../../../src/binutils-2.13.1/bfd/doc/../aoutx.h >aoutx.tmp
Signal 4
make[2]: *** [s-aoutx] Error 132
make[2]: Leaving directory `/cygdrive/c/ecos/tmp/build/binutils/bfd/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/ecos/tmp/build/binutils/bfd'
make: *** [install-bfd] Error 2
make: Leaving directory `/cygdrive/c/ecos/tmp/build/binutils'


I cannot understand why the Errors have appeared, browsing the whole of the
make.out file does not seem to show any errors, can somebody explain, or is
everything actually OK? (i wish).  I have used the same versions of software
mentioned in the webpage.

Is it possible that I have set my PATH incorrectly.  The website says

"Before attempting to build the tools, ensure that the GNU native compiler
tools directory is on the PATH and precedes the current directory. The
following build procedures will fail if . is ahead of the native tools in
the PATH"

What directory exactly is being talked about here?, is it the dir where the
following have been extracted:

bunzip2 < binutils-2.13.1.tar.bz2 | tar xvf -
gunzip < gcc-core-3.2.1.tar.gz | tar xvf -
gunzip < gcc-g++-3.2.1.tar.gz | tar xvf -
gunzip < newlib-1.11.0.tar.gz | tar xvf -
bunzip2 < insight-5.3.tar.bz2 | tar xvf -

i.e. the /src dir in the case of the example on the website.

Any help will be greatly appreciated, Thanks

Jalib.

-- 
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]