AnsweredAssumed Answered

How to build gcc compiler source under yocto bitbake

Question asked by al smith on Jun 12, 2018
Latest reply on Jun 25, 2018 by gusarambula

I am trying to make a modification to gcc compiler and rebuild the compiler under bitbake.

I can bitbake gcc and see the file in  ./tmp/work-shared/gcc-4.8.2-r0/gcc-4.8.2/libstdc++-v3/src/c++11/thread.cc

After modifying thread.cc and changing the PR number in the recipe, the change made in thread.cc is overwritten.  

Can you provide what are the proper steps to make a source change to gcc compiler?

 

Note.  devtool isn't available.  Therefore, I am try to determine how best to make a change in gcc compiler source for debug purposes only and build the load using bitbake.

Outcomes