cp: cannot stat 'libc/crt0.o': No such file or directory

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hello,

I tried to build Newlib b095628ecff1831b250f34d3b6b5787b3f247d63 and it 
fails in make install with:

make[8]: Entering directory 
'/tmp/sh/b-gcc-sparc-rtems6/sparc-rtems6/soft/newlib'
rm -f libm.a
/usr/bin/mkdir -p soft
ln libm/libm.a libm.a >/dev/null 2>/dev/null || cp libm/libm.a libm.a
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2  -msoft-float" 
"CCASFLAGS=-g -O2  -msoft-float" "CFLAGS_FOR_BUILD=-g -O2" 
"CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" 
"LDFLAGS=-msoft-float" "LIBCFLAGS=-g -O2  -msoft-float" 
"LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo 
--split-size=5000000 --split-size=5000000       " "PICFLAG=" 
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" 
"RUNTESTFLAGS=" "exec_prefix=/tmp/sh/i-sparc-rtems6" 
"infodir=/tmp/sh/i-sparc-rtems6/share/info" 
"libdir=/tmp/sh/i-sparc-rtems6/lib64" "prefix=/tmp/sh/i-sparc-rtems6" 
"tooldir=/tmp/sh/i-sparc-rtems6/sparc-rtems6" 
"top_toollibdir=/tmp/sh/i-sparc-rtems6/sparc-rtems6/lib/soft" 
"AR=/tmp/sh/i-sparc-rtems6/sparc-rtems6/bin/ar" 
"AS=/tmp/sh/b-gcc-sparc-rtems6/./gcc/as" 
"CC=/tmp/sh/b-gcc-sparc-rtems6/./gcc/xgcc 
-B/tmp/sh/b-gcc-sparc-rtems6/./gcc/ -nostdinc 
-B/tmp/sh/b-gcc-sparc-rtems6/sparc-rtems6/soft/newlib/ -isystem 
/tmp/sh/b-gcc-sparc-rtems6/sparc-rtems6/soft/newlib/targ-include 
-isystem /home/EB/sebastian_h/src/gcc/newlib/libc/include 
-B/tmp/sh/i-sparc-rtems6/sparc-rtems6/bin/ 
-B/tmp/sh/i-sparc-rtems6/sparc-rtems6/lib/ -isystem 
/tmp/sh/i-sparc-rtems6/sparc-rtems6/include -isystem 
/tmp/sh/i-sparc-rtems6/sparc-rtems6/sys-include  -msoft-float" 
"LD=/tmp/sh/b-gcc-sparc-rtems6/./gcc/collect-ld" "LIBCFLAGS=-g -O2 
-msoft-float" "NM=/tmp/sh/b-gcc-sparc-rtems6/./gcc/nm" "PICFLAG=" 
"RANLIB=/tmp/sh/i-sparc-rtems6/sparc-rtems6/bin/ranlib" "DESTDIR=" 
DO=all multi-do # make
rm -f soft/crt0.o
rm -f crt0.o
ln libc/crt0.o soft/crt0.o >/dev/null 2>/dev/null || cp libc/crt0.o 
soft/crt0.o
ln libc/crt0.o crt0.o >/dev/null 2>/dev/null || cp libc/crt0.o crt0.o
rm -rf libc.a libg.a tmp
rm -f soft/libm.a
mkdir tmp
ln libm.a soft/libm.a >/dev/null 2>/dev/null || cp libm.a soft/libm.a
cd tmp; \
  /tmp/sh/i-sparc-rtems6/sparc-rtems6/bin/ar x ../libm.a 
lib_a-s_fpclassify.o lib_a-sf_fpclassify.o lib_a-s_isinf.o 
lib_a-sf_isinf.o lib_a-s_isnan.o lib_a-sf_isnan.o lib_a-s_isinfd.o 
lib_a-sf_isinff.o lib_a-s_isnand.o lib_a-sf_isnanf.o lib_a-s_nan.o 
lib_a-sf_nan.o lib_a-s_ldexp.o lib_a-sf_ldexp.o lib_a-s_frexp.o 
lib_a-sf_frexp.o lib_a-frexpl.o lib_a-s_modf.o lib_a-sf_modf.o 
lib_a-s_scalbn.o lib_a-sf_scalbn.o lib_a-s_finite.o lib_a-sf_finite.o 
lib_a-s_copysign.o lib_a-sf_copysign.o ; \
  /tmp/sh/i-sparc-rtems6/sparc-rtems6/bin/ar x ../libc/libc.a ; \
  /tmp/sh/i-sparc-rtems6/sparc-rtems6/bin/ar rc ../libc.a *.o
cp: cannot stat 'libc/crt0.o': No such file or directory
make[8]: *** [Makefile:1149: soft/crt0.o] Error 1

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.