Skip to contentSkip to conversation

Installing native toolchain to target with Crosstool-NG

Buildroot a.dobrov 3 participants 3 messages Apr 5, 2011

lore
Share & tools
lore

a.dobrov

author
#0 lore raw

Dear colleagues!

I need to have the development environment (cross-native toolchain?) on the target with glibc. How to do it in Buildroot with Crosstool-NG toolchain?

Sincerely,
Alex Dobrov

#1 lore raw

Hello,

Quoted 3 lines · On Tue, 05 Apr 2011 11:53:25 +0400 "a.dobrov" <[email protected]> wrote:

I need to have the development environment (cross-native toolchain?) on the target with glibc. How to do it in Buildroot with Crosstool-NG toolchain?

As of today, as far as I know, nobody as ever worked on native toolchain support when the CT-NG backend or the external toolchain backend are used.

Generally speaking, our support for the native toolchain (i.E toolchain inside the target) is not really good, as Buildroot is meant to be a cross-compiling environment, so compiling on the target shouldn't be needed.

Of course, improvements in this area are welcome.

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

All,

Quoted 5 lines · On Tuesday 05 April 2011 21:56:06 Thomas Petazzoni wrote:

Hello,

On Tue, 05 Apr 2011 11:53:25 +0400
"a.dobrov" <[email protected]> wrote:

Quoted 7 lines
Quoted 3 lines

I need to have the development environment (cross-native toolchain?) on the target with glibc. How to do it in Buildroot with Crosstool-NG toolchain?

As of today, as far as I know, nobody as ever worked on native toolchain support when the CT-NG backend or the external toolchain backend are used.

Also, you can't use crosstool-NG to generate the cross-native toolchain. It is not currently functional at all. See:
http://sourceware.org/ml/crossgcc/2011-03/msg00126.html
http://sourceware.org/ml/crossgcc/2011-03/msg00128.html

( Note: this applies only to building the cross-native toolchain! Of course you can use crosstool-NG to build the cross toolchain! ;-) )

Quoted 6 lines

Generally speaking, our support for the native toolchain (i.E toolchain inside the target) is not really good, as Buildroot is meant to be a cross-compiling environment, so compiling on the target shouldn't be needed.

Of course, improvements in this area are welcome.

Ditto for crosstool-NG! ;-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'