Gentoo Archives: gentoo-embedded

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] add buildroot external toolchain to gentoo
Date: Sun, 08 May 2016 11:24:49
Message-Id: CAHNvW1KH5SwzXfOurE2y7pRHwsCk_mL1w30fDr5azgqe2Lb0OQ@mail.gmail.com
1 Hi,
2 I would like to add a buildroot toolchain to gentoo, and use the regular
3 crossdev way to use it.
4 I have tried:
5 emerge-wrapper --target x86_64-buildroot-linux-gnu --init
6
7
8 But the compiler used it the system compiler.
9 Is there a tutorial to do this?
10
11 Note that all the toolchain is inside /usr/x86_64-buildroot-linux-gnu
12 I also tried to add it to /etc/env.d/gcc but it didn't work.
13
14 I did read gcc-config and emerge-wrapper code, but without much luck.
15
16 Looking for any pointers.
17
18 Regards,
19 Kfir