Build help

Garrett Battaglia
Mon Aug 14 16:40:00 GMT 2017

I am currently trying to port newlib to the OS I'm writing and I'm
having some difficulty. I followed this guide and when go to compile it, it
ends in an error. if it helps I'm on Arch Linux on an x64 machine. Any
help would be appreciated.

error message:
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '~/Documents/temp/newtest/usr//lib'
 /usr/bin/install -c -m 644  libm.a libc.a '~/Documents/temp/newtest/usr//lib'
 ( cd '~/Documents/temp/newtest/usr//lib' && ranlib libm.a )
 ( cd '~/Documents/temp/newtest/usr//lib' && ranlib libc.a )
rm -f ~/Documents/temp/newtest/usr//lib/libg.a
ln ~/Documents/temp/newtest/usr//lib/libc.a
~/Documents/temp/newtest/usr//lib/libg.a >/dev/null 2>/dev/null || cp
cp: cannot stat
'/home/garrett/Documents/temp/newtest/usr//lib/libc.a': No such file
or directory
make[2]: *** [Makefile:1052: install-data-local] Error 1
make[2]: Leaving directory '/home/garrett/workspace/newlib/build-newlib'
make[1]: *** [Makefile:790: install-am] Error 2
make[1]: Leaving directory '/home/garrett/workspace/newlib/build-newlib'
make: *** [Makefile:641: install-recursive] Error 1

More information about the Newlib mailing list