public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross Compiling for riscv64
@ 2023-02-14 11:37 Sagar Acharya
  2023-02-14 11:48 ` Xi Ruoyao
  2023-02-14 13:36 ` Kai Ruottu
  0 siblings, 2 replies; 9+ messages in thread
From: Sagar Acharya @ 2023-02-14 11:37 UTC (permalink / raw)
  To: Gcc Help

I built binutils and added variables
AR , etc. for configuring

Configured with
./configure --target=riscv64-unknown-elf
make

Gives

g++: fatal error: Killed signal terminated program cc1plus
compilation terminated
make[2]: *** [Makefile:1143: gimple-match.o] Error 1
make[2]: Leaving directory '/path/to/gcc-12.2.0/host-aarch64-unknown-linux-musl/gcc'
make[1]: *** [Makefile:4610: all-gcc] Error 2
make[1]: Leaving directory 'gcc-12.2.0’
make: *** [Makefile:1028: all] Error 2

I already have a preinstalled package aarch64-linux-musl-gcc . Kindly help. 
Thanking you
Sagar Acharya
https://designman.org

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

end of thread, other threads:[~2023-02-14 13:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 11:37 Cross Compiling for riscv64 Sagar Acharya
2023-02-14 11:48 ` Xi Ruoyao
2023-02-14 12:28   ` Sagar Acharya
2023-02-14 12:43     ` Xi Ruoyao
2023-02-14 12:57       ` Sagar Acharya
2023-02-14 13:02         ` Xi Ruoyao
2023-02-14 13:27         ` Jonathan Wakely
2023-02-14 13:36 ` Kai Ruottu
2023-02-14 13:46   ` Kai Ruottu

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