Hi,
I would like to add a buildroot toolchain to gentoo, and use the regular
crossdev way to use it.
I have tried:
emerge-wrapper --target x86_64-buildroot-linux-gnu --init
But the compiler used it the system compiler.
Is there a tutorial to do this?
Note that all the toolchain is inside /usr/x86_64-buildroot-linux-gnu
I also tried to add it to /etc/env.d/gcc but it didn't work.
I did read gcc-config and emerge-wrapper code, but without much luck.
Looking for any pointers.
Regards,
Kfir
I would like to add a buildroot toolchain to gentoo, and use the regular
crossdev way to use it.
I have tried:
emerge-wrapper --target x86_64-buildroot-linux-gnu --init
But the compiler used it the system compiler.
Is there a tutorial to do this?
Note that all the toolchain is inside /usr/x86_64-buildroot-linux-gnu
I also tried to add it to /etc/env.d/gcc but it didn't work.
I did read gcc-config and emerge-wrapper code, but without much luck.
Looking for any pointers.
Regards,
Kfir