Subject: [Boost-build] How to determine compiler for configure/make
From: Brendan Hanna (brendan_of_dullo_at_[hidden])
Date: 2013-09-20 19:29:25
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?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk