[Buildroot] Using Buildroot generated toolchain on different machine without Buildroot environment

Aleksandar Zivkovic Aleksandar.Zivkovic at rt-rk.com
Tue Jun 26 15:05:59 UTC 2012


Hi all,

I'm trying to extract the toolchain generated by Buildroot in order to 
use it on other machines without Buildroot environment. Thought this is 
simple and did the following way:
* generate toolchain outside Buildroot (BR2_HOST_DIR="$(TOPDIR)/../host")
* use files from $(TOPDIR)/../host on other machine

To test my procedure I modified toolchainfile.cmake file with paths on 
other machine and started cmake -DCMAKE_TOOLCHAIN_FILE="..." .
Unfortunately this doesn't work :( cmake is not able to generate 
makefiles complaining on the following:
i686-linux-gcc: error trying to exec 'cc1': execvp: No such file or
   directory

Google shows posts on this problem but I have a feeling that I missed 
the idea on how to isolate toolchain for usage on other machines so 
would like to ask help from you.

Thank you in advance,
Aleksandar



More information about the buildroot mailing list