[Buildroot] Standalone toolchain

Hinko Kocevar hinko.kocevar at cetrtapot.si
Fri Sep 26 12:39:39 UTC 2008


Bernhard Reutner-Fischer wrote:
> On Wed, Sep 24, 2008 at 03:14:47PM +0200, Hinko Kocevar wrote:
>> Hi,
>>
>> Is it possible to create a toolchain and then transfer it to another machine or just another folder, and have it work?
> 
> This is supposed to work, yes. The keyword is sysroot support.
> Either configure your BR2_STAGING_DIR to e.g. /opt/my-target-tripplet
> or just move the staging dir wherever you want and use the proper
> --sysroot and -isysroot.

Yes, that helped!
I've added --sysroot=$(TOOLCHAIN) to CFLAGS and LDFLAGS and gcc was happy again.

Best regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si




More information about the buildroot mailing list