Hello Naveen,
On 17.10.19 07:26, Naveen Chaudhary wrote:
As per the Wiki : https://www.coreboot.org/Build_HOWTO I did "make crossgcc-i386". Now when I do make, I get compilation errors because my host gcc verion is 4.3. In case I update the host gcc version is updated to some later version, says gcc-8 , the errors are gone.
Looks like coreboot build system still uses the host gcc. How can I make with coreboot toolchain, instead of the host gcc toolchain.
coreboot's toolchain is only used to build "target" code, i.e. the coreboot itself. There are some tools to be compiled for the host, however, during the build process. As we usually only build a cross compiler, the original host toolchain will always be used for the tools.
It's most likely the build of such a tool that fails. If you can update your host toolchain, that's probably the best thing to do.
Nico