g++ for riscv32 "bare metal"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Hi All,

    First of all, I am not sure if "bare metal" is correct. My goal is to compile g++ to run on Linux and compile code for rv32emc bare metal (no operating system).

    I could get gcc and binutils compiled without any kind of libc like newlib performing the below steps:

1) Configure, compile and install binutils
2) Configure, compile and install gcc
(WORKS FINE)

    Based on what I saw on the internet, to compile g++ it is mandatory to perform the following steps:

1) Configure, compile and install binutils
2) Configure, compile and install gcc
3) Configure, compile and install newlib
4) Reconfigure, recompile and reinstall gcc/g++ using --with-newlib option in configure
(DO NOT WORK)

The step (4) generate an error during compile phase.

Does anyone see any major problem on the steps to compile g++ ?
If not, I will post all my configuration lines and the error I am getting.

Best Regards,
Alex




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux