public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ECOS Building tools under Linux 6.2
@ 2000-10-13 13:41 Leandro Vieira
  2000-10-13 14:50 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Leandro Vieira @ 2000-10-13 13:41 UTC (permalink / raw)
  To: ecos-discuss, ecos-discuss-help, ecos-discuss-info, ecos-discuss-faq

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2685 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] ECOS Building tools under Linux 6.2
  2000-10-13 13:41 [ECOS] ECOS Building tools under Linux 6.2 Leandro Vieira
@ 2000-10-13 14:50 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-10-13 14:50 UTC (permalink / raw)
  To: leandro; +Cc: ecos-discuss

Leandro Vieira wrote:
> 
>  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.

You moved the sources directly? At a guess config.sub doesn't have the
execute bit, so do chmod +x config.sub. Also check that config.sub is spelt
in lower case. And failing that, try doing yourself what the configure
script would do, which would be

/bin/sh /src/gcc/gcc-2.95.2/config.sub sun4

which should output:

sparc-sun-sunos4.1.1

Also I hope that whatever way you copied it wouldn't allow any CRLFs in -
it's something to watch out for if you have any more problems.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-13 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-13 13:41 [ECOS] ECOS Building tools under Linux 6.2 Leandro Vieira
2000-10-13 14:50 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).