* [Buildroot] Buildroot toolchain for arm
@ 2011-03-23 11:50 Chia-Hung Chou
2011-03-23 16:08 ` Gustavo Zacarias
0 siblings, 1 reply; 2+ messages in thread
From: Chia-Hung Chou @ 2011-03-23 11:50 UTC (permalink / raw)
To: buildroot
I want to build the toolchain to compile into fully thumb instruction. In
the menuconfig, I add the "--with-mode=thumb" into gcc options.
After I make the buildroot, there are some Errors :
make[5]: *** [libmudflap.la] Error 1
make[5]: Leaving directory
'/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final/arm-unknown-linux-uclibic/libmudflap'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
'/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final/arm-unknown-linux-uclibic/libmudflap'
make[3]: *** [all] Error 2
make[3]: Leaving directory
'/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final/arm-unknown-linux-uclibic/libmudflap'
make[2]: *** [all-target-libmudflap] Error 2
make[2]: Leaving directory
'/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final'
make[1]: *** [all-target-libmudflap] Error 2
make[1]: Leaving directory
'/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final'
make: ***
[/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.4.5-final/.compiled]
Error 2
I try a lot of ways but I still can't solve it. Is there any way to solve
or to build a toolchain that could compile code into fully thumb
instruction??
thanks~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110323/bc3f36d4/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Buildroot toolchain for arm
2011-03-23 11:50 [Buildroot] Buildroot toolchain for arm Chia-Hung Chou
@ 2011-03-23 16:08 ` Gustavo Zacarias
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Zacarias @ 2011-03-23 16:08 UTC (permalink / raw)
To: buildroot
On 03/23/11 08:50, Chia-Hung Chou wrote:
> I want to build the toolchain to compile into fully thumb
> instruction. In the menuconfig, I add the "--with-mode=thumb" into gcc
> options.
> After I make the buildroot, there are some Errors :
> make[5]: *** [libmudflap.la <http://libmudflap.la>] Error 1
> make[5]: Leaving directory
> '/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final/arm-unknown-linux-uclibic/libmudflap'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> '/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final/arm-unknown-linux-uclibic/libmudflap'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> '/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final/arm-unknown-linux-uclibic/libmudflap'
> make[2]: *** [all-target-libmudflap] Error 2
> make[2]: Leaving directory
> '/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final'
> make[1]: *** [all-target-libmudflap] Error 2
> make[1]: Leaving directory
> '/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.5-final'
> make: ***
> [/home/chiahung/buildroot-2011.02/output/toolchain/gcc-4.4.4.5-final/.compiled]
> Error 2
> I try a lot of ways but I still can't solve it. Is there any way to
> solve or to build a toolchain that could compile code into fully thumb
> instruction??
>
> thanks~
Yes, you might want to use "-mthumb" in BR2_TARGET_OPTIMIZATION.
See the gcc manpage.
Regards.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-23 16:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 11:50 [Buildroot] Buildroot toolchain for arm Chia-Hung Chou
2011-03-23 16:08 ` Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox