Subject: [Boost-build] getting the compiler command inside jamfile
From: Klemens Morgenstern (klemens.morgenstern_at_[hidden])
Date: 2015-06-01 02:28:24
I already posted the question on stackoverflow
but asking in the mailing-list is smarter.
I want to add a compiler command, because I am building for a none eabi
embedded device. That is the compiler command is "arm-none-eabi-g++" and
I already got that to work, quite easily.
Now the question: how do I get the command in the jamfile, because I
want to add the commands needed for embedded devices, which share the
prefix, that is "arm-none-eabi-objcopy" and "arm-none-eabi-size". Now I
want it to be portable (that is other architecture), so I need to deduce
the prefix from the chosen toolset, i.e. find out "arm-none-eabi-".
I don't really want to change the gcc.jam for that.
Can anyone help me?
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