newlib installation problem on cygwin

J. Johnston
Tue Sep 10 09:17:00 GMT 2002

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
> -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
> : No such file or directory

You are getting an assembler error when compiling.  There is no newlib file: 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:

> arm-elf-gcc: file path prefix `/d/cygwin/tmp/build/newlib/arm-elf/newlib/'
> never
> used

The message above can be ignored.

-- Jeff J.

More information about the Newlib mailing list