Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Relocate uClibc toolchain question
@ 2012-09-10 18:21 Rishi
  2012-09-10 20:14 ` Samuel Martin
  2012-09-11 10:29 ` Grant Edwards
  0 siblings, 2 replies; 4+ messages in thread
From: Rishi @ 2012-09-10 18:21 UTC (permalink / raw)
  To: buildroot

Hello,

I have built a uClibc toolchain using Buildroot 2012.05.
- uClibc 0.9.33
- gcc 4.6.x
- C++ support

The toolchain works perfectly but I want to move it from my home
directory to a directory that can be shared with the team, like
/opt/arm_uClibc/..

I performed a "cp -rf output/host/ /opt/arm_uClibc" and then attempted
to use this compiler by passing the --sysroot option as suggested in
Documentation.
(http://buildroot.uclibc.org/downloads/manual/manual.html#_using_the_generated_toolchain_outside_buildroot)

This seemed to be working but as soon as I performed a distclean in my
buildroot area the toolchain broke; it could not find libmpc.so.2 as
well as C standard include headers.

Executing command:
arm-linux-g++ -c -Wall --sysroot=/opt/arm_uClibc main.cpp

2 questions:
1. Any ideas on how to fix this?  Codesourcery toolchain does not have
libmpc.so.2, so I was a bit puzzled.
2. Why doesn't CodeSourcery's toolchain require this sysroot thing?  I
can move their compiler anywhere and it works perfectly fine.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-11 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 18:21 [Buildroot] Relocate uClibc toolchain question Rishi
2012-09-10 20:14 ` Samuel Martin
2012-09-10 20:31   ` Yann E. MORIN
2012-09-11 10:29 ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox