[Buildroot] development environment

Aaron Hanson a.hanson at f5.com
Tue Jan 6 20:08:05 UTC 2009


Hi All -

        I'm having great success creating a complete target image and booting it. Buildroot is wonderful. But I want development tools in the target system, and I'm getting a very basic error when I try to use gcc:

# gcc foo.c
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status

        I work around this with a symlink:

/usr/lib/libgcc.so -> libgcc_s.so.1

        But then I'm stuck:

# gcc foo.c
/usr/bin/ld: cannot find /usr/lib/uclibc_nonshared.a
collect2: ld returned 1 exit status

        It seems I've not built the toolchain correctly. I'm using buildroot and uclibc menu-config and throwing in all the development options I can find. Does this particular problem have an obvious meaning to anybody? Is there a static-lib setting that I'm missing?

        Thanks...

-Aaron



More information about the buildroot mailing list