[Buildroot] buildroot host builds with g++

Peter Korsgaard peter at korsgaard.com
Sun May 8 19:25:00 UTC 2022


>>>>> "Alex" == Alex  <earthquake.de at freenet.de> writes:

Hi,

 >> > So, if I build the idl compiler for the target, compile is
 >> > successfull. (make with TARGET_CONFIGURE_OPTS)
 >> > But buiding for the host (make with HOST_CONFIGURE_OPTS) the build
 >> > fails with
 >> 
 >> >  g++: error: /usr/bin/g++": No such file or directory
 >> 
 >> > In buildroot-config, BR2_TOOLCHAIN_BUILDROOT_CXX is set.
 >> 
 >> > So how can I get a g++ for host building?
 >> 
 >> You need to instal g++ on your build machine.

 > g++ is installed on my build machine where I create my buildroot system.
 > The project compiles outside of buildroot on my build machine.
 > Does buildroot environment need a link/variable to the g++ on the
 > built machine?

Are you sure? Based on the above, it doesn't sound like you have a
/usr/bin/g++?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list