How to build toolchain inside buildroot?

Rogelio Serrano rogelio.serrano at gmail.com
Fri Apr 21 06:46:24 UTC 2006


On 4/21/06, Pham Cong Thien <pcthien at one-connection.com> wrote:
>  Rogelio Serrano wrote:
>  On 4/21/06, Pham Cong Thien <pcthien at one-connection.com> wrote:
>
>
>  I'm using buildroot-0.9.27. I can build the target and toolchain in
> ~buildroot/build_i386/starging_dir.
> I want to have toolchain (gcc, ar, ld, ...) inside buildroot, then after
> chroot into it, I have those tool to compile my application.
> Please tell me how?
> Best regards,
> Thien P.
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
>
>  you need to patch the toolchain sources and then build
>
>  Do you mean that buildroot have no support for my need? That I need to
> patch toolchain source mysefl?
>  Which part in toochain source I need to patch, how?
>  Best regards,
>  Thien P.
>

The same patches you need to build buildroot itself. You need to study
the makefiles in the latest buildroot package. You will find the
relevant patches there.

The toolchain was developed using glibc and the stock toolchain
packages depend on glibc specific things. Therefore you need to patch
in the parts needed for uClibc based build.

>
>  -- www.smsglobal.net SMS Global Ltd Short Message Service For Seafarers
>
>
>  --
> **************************************************
> Pham Cong Thien
> Project Manager, Product Manager
> Tel +84-908-336-454
> Email pcthien at one-connection.com
>
>
> One-Connection Pte Ltd
> http://www.one-connection.com
> 112 Robinson Road, #13-01 HB Robinson, Singapore 068902
> Tel +65 6333 5935 Fax +65 6333 5936
> **************************************************
>
>


--
www.smsglobal.net SMS Global Ltd Short Message Service For Seafarers



More information about the uClibc mailing list