Hi, all,
I notice that linaro-gcc is a native compiler on ARM, when I go through linaro gcc bugs on launchpad. When we fix bugs, shall we configure gcc as a native compiler on ARM directly, or configure gcc as a cross compiler on i386 box? Former needs extra hardware boards, while latter needs some cross compiling setting. I'd like to know how do you do that?
On Wed, Jul 14, 2010, Yao Qi wrote:
I notice that linaro-gcc is a native compiler on ARM, when I go through linaro gcc bugs on launchpad. When we fix bugs, shall we configure gcc as a native compiler on ARM directly, or configure gcc as a cross compiler on i386 box? Former needs extra hardware boards, while latter needs some cross compiling setting. I'd like to know how do you do that?
Both are valid development models; Ubuntu uses native builds, we should keep it in mind if we work on Ubuntu bugs and we can't reproduce with a cross-compiler.
Loïc Minier wrote:
On Wed, Jul 14, 2010, Yao Qi wrote:
I notice that linaro-gcc is a native compiler on ARM, when I go through linaro gcc bugs on launchpad. When we fix bugs, shall we configure gcc as a native compiler on ARM directly, or configure gcc as a cross compiler on i386 box? Former needs extra hardware boards, while latter needs some cross compiling setting. I'd like to know how do you do that?
Both are valid development models; Ubuntu uses native builds, we should keep it in mind if we work on Ubuntu bugs and we can't reproduce with a cross-compiler.
Thanks for the clarification. Any ARM box I can have a try?
On 14/07/10 18:01, Loïc Minier wrote:
On Wed, Jul 14, 2010, Yao Qi wrote:
I notice that linaro-gcc is a native compiler on ARM, when I go through linaro gcc bugs on launchpad. When we fix bugs, shall we configure gcc as a native compiler on ARM directly, or configure gcc as a cross compiler on i386 box? Former needs extra hardware boards, while latter needs some cross compiling setting. I'd like to know how do you do that?
Both are valid development models; Ubuntu uses native builds, we should keep it in mind if we work on Ubuntu bugs and we can't reproduce with a cross-compiler.
It's my expectation that CS will do the majority of the work on cross-compilers (at least for compiler internals). This is partly about the relative speed of the host machine, and partly because this is our normal working practice.
The testing will have to be done natively, of course.
Andrew
linaro-toolchain@lists.linaro.org