[uClibc] buildroot's gcc3_3_target does not work

Glen Call benzguy80 at yahoo.com
Mon Aug 23 17:30:30 UTC 2004


Richard -

I just did this build and have a link "/bin/gcc" to "../usr/bin/ccache".  This
works fine, as I was able to compile and execute natively.

I do have "/usr/bin/gcc", which also compiles and links to produce a working
executable.

My top level "Makefile" includes the target items you've specified, plus:

TARGETS+=coreutils findutils bash make diffutils patch sed
TARGETS+=ed flex bison file gawk tar grep bzip2
TARGETS+=autoconf automake

Some of these choices were arbitrary.  I would pay most attention to
coreutils, etc.

Hope this helps you out.  I would also go about checking permissions, etc.

Good luck,
Glen


Richard -rw- Weinberger wrote:

> hi!
>
> i've build a root_fs with buildroot (i tried also the cvs-version).
> but gcc does not work.
>
> # gcc -v
> /usr/bin/gcc: No such file or directory
> # ldd /usr/bin/gcc
>         libc.so.6 => libc.so.6 (0x00000000)
>         /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
> # ls -la /lib/libc.so.6
> lrwxrwxrwx    1 root     root           19 Aug 23 06:12 /lib/libc.so.6
> -> libuClibc-0.9.26.so
> # ls -la /lib/ld-uClibc.so.0
> lrwxrwxrwx    1 default  100            19 Aug 22 14:08
> /lib/ld-uClibc.so.0 -> ld-uClibc-0.9.26.so
> # ls -la /usr/bin/gcc
> -rwxr-xr-x    3 default  100         80556 Aug 22 14:28 /usr/bin/gcc
>
> this are the targets that i've used:
>
> TARGETS:=host-sed
> TARGETS+=uclibc-configured binutils gcc3_3 ccache
> TARGETS+=kernel-headers
> TARGETS+=busybox #tinylogin
> TARGETS+=zlib openssl openssh
> TARGETS+=gcc3_3_target ccache_target
> TARGETS+=ncurses-headers zlib-headers openssl-headers
> TARGETS+=m4 libtool
>
> what can i do?
> thanks,
> rw
>
>   ------------------------------------------------------------------------
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc

--
Glen Call
gcall at flash.net





More information about the uClibc mailing list