This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: error while compiling gcc-2.95.3-5 src on cygwin
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: prabhanjan kumar <prabhanjan_cp at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 30 Apr 2002 20:31:52 +0100
- Subject: Re: [ECOS] error while compiling gcc-2.95.3-5 src on cygwin
- Organization: Red Hat UK Ltd.
- References: <20020422134643.71591.qmail@web20004.mail.yahoo.com>
prabhanjan kumar wrote:
>
> hi
> i am compiling gcc-2.95.3-5-src on cygwin which i
> installed on windowsNT through the cygwin setup
> program
> i followed the below steps
>
> $ ../gcc-2.95.3-5/configure
> --prefix=/usr/local/cygwin --enable-languages=c
> make
>
> $ but i got the folloing error
> -------------------------------------------------------
> ../../gcc-2.95.3-5/gcc/frame
> mv tmplibgcc2.a libgcc2.a
> rm -rf tmplibgcc.a libgcc.a tmpcopy
> mkdir tmpcopy
> if [ xlibgcc1-asm.a != x ]; \
> then (cd tmpcopy; ar x ../libgcc1-asm.a); \
> else true; \
> fi
> (cd tmpcopy; chmod +w * > /dev/null 2>&1)
> (cd tmpcopy; ar x ../libgcc2.a)
> (cd tmpcopy; ar rc ../tmplibgcc.a *.o)
> rm -rf tmpcopy
> if [ -f ranlib ] || ( [ "i686-pc-cygwin32" =
> "i686-pc-cygwin32" ] && [ -f /usr/bin/ranlib -o -f
> /bin/ranlib ] ) ; then \
> ranlib tmplibgcc.a; \
> else true; fi
> mv tmplibgcc.a libgcc.a
> makeinfo -I../../gcc-2.95.3-5/gcc -o cpp.info
> ../../gcc-2.95.3-5/gcc/cpp.texi
> 41 [main] sh 205 proc_subproc: Couldn't duplicate
> my handle<0xB0> for pid 207, Win32 error 6
> ../../gcc-2.95.3-5/gcc/cpp.texi: No such file or
> directory (ENOENT)
>From your description here you are trying to build native tools for cygwin.
So either this message is off-topic for the list ( look at the cygwin
mailing lists instead) or you aren't following the instructions on building
toolchains on http://sources.redhat.com/ecos/getstart.html
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "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