I would like to use ccache for a build done with bjam and gcc as its toolset.
As this answer suggests ccache needs the compilation and linker call in separate steps to work correctly. However bjam is performing those in a single step.
How can I call/configure bjam to first compile and link afterwards and to work with ccache?