[ECOS] ECOS Building tools under Linux 6.2
Leandro Vieira
leandro@av.it.pt
Fri Oct 13 13:41:00 GMT 2000
Hello.
I had completed building tools under windows NT with binutils-2.10,gcc
2.95.2 and gdb 5.0. and had also applyed the patch ecos-gcc-2952.pat to
gcc.
This process it's the same that i have been try to do under Linux 6.2
without sucess.
So i moved that i had in Windows NT to correspondent folder in Linux.
Now i'm trying to build the tools for Synthetic Linux target:
i followed all steps in agreement with document.
in step 3 of document, when i try configure GCC i get the follow error
message, it's the only
message that i get:
*** connot find config.sub.
but inside of this folder, /src/gcc/gcc-2.95.2/ , i see config.sub,
configure, configure.in, etc and i don't understand why it happens( the
error).
this is the sequence of instructions that i followed:
1.
mkdir -p /opt/ecos
cd /opt/ecos
gunzip < ecos-1.3.1.tar.gz | tar xvf - (for the gzip archive)
2. cd /src
cd -R /c/cygwin/src/* . Note: /c/cygwin/src/* is where i
have
binutils-2.10,gdb 5.0.
and gcc-2.95.2
with the patch ecos-gcc-2952.pat applyed to it.
after that the folder /src in the Linux looks like:
/src/binutils/binutils-2.10
/src/gcc/gcc-2.95.2
/src/gdb/insight-5.0
3.
mkdir -p /tmp/build/binutils
cd /tmp/build/binutils
/src/binutils/binutils-2.10/configure --target=i686-pc-linux-gnu \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-linux-gnu \
-v 2>&1 | tee configure.out
4.
PATH=/tools/H-i686-pc-linux-gnu/bin:$PATH
export PATH
mkdir -p /tmp/build/gcc
cd /tmp/build/gcc
/src/gcc/gcc-2.95.2/configure --target=i686-pc-linux-gnu \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-linux-gnu \
--with-gnu-as --with-gnu-ld --with-newlib \
-v 2>&1 | tee configure.out
Note: in this point that i get tha errorr message(*** connot find
config.sub.) .
5.
mkdir -p /tmp/build/gdb
cd /tmp/build/gdb
/src/gdb/insight-5.0/configure --target=i686-pc-linux-gnu \
--prefix=/tools \
--exec-prefix=/tools/H-i686-pc-linux-gnu \
-v 2>&1 | tee configure.out
*********************************************
NOTE: all other configuration was fine.
**********************************************
* Portugal Telecom *
* Instituto de Telecomunicações *
* Aveiro / Portugal *
* leandro@av.it.pt *
**********************************************
More information about the Ecos-discuss
mailing list