I am trying to use boost build to build an external package and generate a library that I can then link to. The external package is built using the tradition configure/make/make install steps. I am running these steps using a make rule referring to a hand written action

I am cross compiling on x86 cygwin to a number of toolsets - gcc-cywin, gcc-arm-linux and another. In order to correctly build the external library, I need to supply the compiler path to the call to configure in my handwritten action.

So my question is, how do I correctly determine the compiler used for the current build and set it in a way that may be used for my hand written action so that it may be passed through to configure?

Thanks,

Brendan