This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: newlib installation problem on cygwin
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: Satish Kumar <satishkumar at sanyo dot co dot in>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>,"'newlib at sources dot redhat dot com'" <newlib at sources dot redhat dot com>
- Date: Tue, 10 Sep 2002 12:17:31 -0400
- Subject: Re: newlib installation problem on cygwin
- Organization: Red Hat Inc.
- References: <6DF87017DA95D611AC6000606730DE9B11D767@BLREXSR>
Satish Kumar wrote:
>
> Hi,
>
> I m trying to install ARM development tools for eCos on Cygwin.
> i m using the following ARM tool versions:
> binutils-2.10.1.tar.gz
> gcc-2.95.2.tar.gz
> newlib-1.10.tar.gz
> insight-5.2.tar.gz.
>
> now, i m able to carry out the first 2 steps that is configuring and
> building the
> binutils and the gcc on cygwin successfully, but in the third step, when i
> configure
> the newlib1.10.0 i get the following message:
>
> Satish@SLTI-SATISH /d/cygwin/tmp/build/newlib$
> ../../../src/newlib/newlib-1.10.0/configure --target=arm-elf --prefix=/tools
>
> --exec-prefix=/tools/H-i686-pc-cygwin -v 2>&1 | tee configure.out
>
> Configuring for a i686-pc-cygwin host.
>
> *** This configuration is not supported in the following subdirectories:
>
> target-libgloss
>
The message you get when configuring is fine. What normally is found in libgloss
is already within newlib for arm-elf so target-libgloss is not built. The message is
just telling you that.
I would suggest you specify an absolute path to the configure script rather than
a relative path.
> later when i continue to build the newlib i get the following message, the
> following
> shown below is the portion just before the newlib build exits, on error:
>
> Making all in stdlib
>
> make[3]: Entering directory
> `/d/cygwin/tmp/build/newlib/arm-elf/newlib/libc/stdl
>
> ib'
>
> arm-elf-gcc -B/d/cygwin/tmp/build/newlib/arm-elf/newlib/ -isystem
> /d/cygwin/tmp/
>
> build/newlib/arm-elf/newlib/targ-include -isystem
> /d/cygwin/src/newlib/newlib-1.
>
> 10.0/newlib/libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.10.0\" -I.
> -I../../
>
> ../../../../../src/newlib/newlib-1.10.0/newlib/libc/stdlib -O2
> -DABORT_PROVIDED
>
> -DHAVE_GETTIMEOFDAY -DARM_RDI_MONITOR -I../../targ-include
> -I../../../../../../
>
> ../src/newlib/newlib-1.10.0/newlib/libc/../libc/include -fno-builtin -g -O2
>
> -c
> ../../../../../../../src/newlib/newlib-1.10.0/newlib/libc/stdlib/__adjust.c
>
> Assembler messages:
>
> for reading.open
>
> : No such file or directory
>
You are getting an assembler error when compiling. There is no newlib file:
reading.open nor is it referenced by any newlib code.
You should try posting to the gcc, binutils, and Cygwin mailing lists. Perhaps
someone will recognize the problem. IIRC, there is an
environment variable you can set when building under Cygwin: "export MAKE_MODE=unix"
You might also want to consider setting up a single source tree to make the build
much easier. See:
http://www.objsw.com/CrossGCC/FAQ-4.html#ss4.2
> arm-elf-gcc: file path prefix `/d/cygwin/tmp/build/newlib/arm-elf/newlib/'
> never
>
> used
>
The message above can be ignored.
-- Jeff J.