This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem building newlib-1.8.2 under cygwin


I am building newlib-1.8.2 for target i960-rtems under cygwin on platform WinNT4.0.

$../newlib-1.8.2/configure --target=i960-rtems --prefix=/home/swm/

$make
make[1]: Nothing to be done for `all'.
Configuring in i960-rtems/newlib
creating cache ./config.cache
checking for a BSD compatible install... /C/cygnus/CYGWIN~1/H-I586~1/bin/install
 -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i960-unknown-rtems
.....

....
creating Makefile
sed: file conftest.s1 line 43: Unterminated `s' command

......
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 -W -Wall" "CFLAGS_FOR_BUILD
=" "CFLAGS_FOR_TARGET=-g -O2 -W -Wall" "INSTALL=/bin/sh /d/rtems/source/newlib-1
.8.2/install-sh -c" "INSTALL_DATA=/bin/sh /d/rtems/source/newlib-1.8.2/install-s
h -c -m 644" "INSTALL_PROGRAM=/bin/sh /d/rtems/source/newlib-1.8.2/install-sh -c
 " "INSTALL_SCRIPT=/bin/sh /d/rtems/source/newlib-1.8.2/install-sh -c" "LDFLAGS=
" "LIBCFLAGS=-g -O2 -W -Wall" "LIBCFLAGS_FOR_TARGET=-g -O2 -W -Wall" "MAKE=make"
 "MAKEINFO=makeinfo  " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=
expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/swm/newlib" "infodi
r=/home/swm/newlib/info" "libdir=/home/swm/newlib/lib" "prefix=/home/swm/newlib"
 "tooldir=/home/swm/newlib/i960-rtems" "AR=i960-rtems-ar" "AS=i960-rtems-as" "CC
=i960-rtems-gcc" "LD=i960-rtems-ld" "LIBCFLAGS=-g -O2 -W -Wall" "NM=i960-rtems-n
m" "PICFLAG=" "RANLIB=i960-rtems-ranlib" "DESTDIR=" DO=all multi-do
if [ -z "float soft-float" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd ../../../newlib-1.8.2/newlib; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="i960-rtems-gcc"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
        flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
        if (cd ../${dir}/${lib}; make  \
                        CFLAGS="-g -O2 -W -Wall ${flags}" \
                        CXXFLAGS="-g -O2 ${flags}" \
                        LIBCFLAGS="-g -O2 -W -Wall ${flags}" \
                        LIBCXXFLAGS="-g -O2 -fno-implicit-templates -fexceptions
 ${flags}" \
                        LDFLAGS=" ${flags}" \
                        all); then \
          true; \
        else \
          exit 1; \
        fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[3]: *** No rule to make target `all'.  Stop.
make[2]: *** [multi-do] Error 1
make[1]: *** [all-multi] Error 2
make: *** [all-target-newlib] Error 2


There must be something wrong in the configure:
1.It can't recoginze the cygwin environment.
2.As the "sed" tells, the file "conftest.s1" is wrong.

Any help will be appreciated.

Thanks.
Su Wenming





------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]