public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Build help
@ 2017-08-14 16:40 Garrett Battaglia
  0 siblings, 0 replies; 2+ messages in thread
From: Garrett Battaglia @ 2017-08-14 16:40 UTC (permalink / raw)
  To: newlib

I am currently trying to port newlib to the OS I'm writing and I'm
having some difficulty. I followed this guide
http://wiki.osdev.org/Porting_Newlib 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
~/Documents/temp/newtest/usr//lib/libc.a
~/Documents/temp/newtest/usr//lib/libg.a
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build help
@ 2017-08-16 10:38 Alexander Fedotov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Fedotov @ 2017-08-16 10:38 UTC (permalink / raw)
  To: Garrett Battaglia, newlib

Hi
It seems like libc.a failed to build. And on install step it could not find it.

Do you call make with multi-thread option like "make -j 4" ? If yes,
lookup in log for build error on libc.

Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-16  6:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14 16:40 Build help Garrett Battaglia
2017-08-16 10:38 Alexander Fedotov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).