public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* cannot find crt0.o file
@ 2022-03-25 10:30 Dalas Yoo
  2022-03-25 10:58 ` R. Diez
  2022-04-08 14:05 ` Richard Earnshaw
  0 siblings, 2 replies; 4+ messages in thread
From: Dalas Yoo @ 2022-03-25 10:30 UTC (permalink / raw)
  To: newlib

Hello, I tried to build a newlib for cross-compile toolchain.

I configured it as below.

../newlib/configure --disable-newlib-io-float
--disable-newlib-supplied-syscalls --target=arm-none-eabi

With the configuration, the newlib was successfully built. But when trying
to compile and link the program, the arm-none-eabi-gcc prints error "crt0.o
not found".
When searching the newlib lib directory, crt0.o file is not found though
other types of crt0.o are found such as rdimon-crt0.o.

If the arm-none-eabi-gcc gets applied with --specs=rdimon.specs options, it
compiles the program fine.
But if the newlib is configured without --disable-newlib-supplied-syscalls,
it normally generates crt0.o.

Would there be any suggestions on this case?
Thanks,
Dalas

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

end of thread, other threads:[~2022-04-08 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 10:30 cannot find crt0.o file Dalas Yoo
2022-03-25 10:58 ` R. Diez
2022-03-25 12:10   ` Dalas Yoo
2022-04-08 14:05 ` Richard Earnshaw

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).