[uClibc] toolchain & buildroot script understanding...
Glenn R Heard Jr
gheard at zoominternet.net
Sun Jul 11 14:41:55 UTC 2004
I'm sorry. I was wrong.. toolchain did make a contained compiler in the
toolchain tree under the directory toolchain_arm_nofpu... can this directory
be relocated say to /usr/local? Also, I noticed in the lib directory, some
of the links are invalid? Can someone explain this?
total 13164
-rw-r--r-- 1 grh grh 916 Jul 10 07:32 crt0.o
-rw-r--r-- 1 grh grh 996 Jul 10 07:32 crt1.o
-rw-r--r-- 1 grh grh 853 Jul 10 07:32 crti.o
-rw-r--r-- 1 grh grh 853 Jul 10 07:32 crtn.o
-rw-r--r-- 1 grh grh 996 Jul 10 07:32 gcrt1.o
-rwxr-xr-x 1 grh grh 19660 Jul 10 07:32 ld-uClibc-0.9.26.so
lrwxrwxrwx 1 grh grh 19 Jul 10 07:32 ld-uClibc.so.0 ->
ld-uClibc-0.9.26.so
-rw-r--r-- 1 grh grh 985818 Jul 10 07:32 libc.a
lrwxrwxrwx 1 grh grh 6 Jul 10 07:32 libc_pic.a -> libc.a
-rw-r--r-- 1 grh grh 10496 Jul 10 07:32 libcrypt-0.9.26.so
-rw-r--r-- 1 grh grh 13626 Jul 10 07:32 libcrypt.a
lrwxrwxrwx 1 grh grh 10 Jul 10 07:32 libcrypt_pic.a ->
libcrypt.a
lrwxrwxrwx 1 grh grh 56 Jul 10 07:32 libcrypt.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libcrypt.so.0
lrwxrwxrwx 1 grh grh 18 Jul 10 07:32 libcrypt.so.0 ->
libcrypt-0.9.26.so
lrwxrwxrwx 1 grh grh 52 Jul 10 07:32 libc.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libc.so.0
lrwxrwxrwx 1 grh grh 19 Jul 10 07:32 libc.so.0 ->
libuClibc-0.9.26.so
-rw-r--r-- 1 grh grh 6704 Jul 10 07:32 libdl-0.9.26.so
-rw-r--r-- 1 grh grh 19418 Jul 10 07:32 libdl.a
lrwxrwxrwx 1 grh grh 7 Jul 10 07:32 libdl_pic.a ->
libdl.a
lrwxrwxrwx 1 grh grh 53 Jul 10 07:32 libdl.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libdl.so.0
lrwxrwxrwx 1 grh grh 15 Jul 10 07:32 libdl.so.0 ->
libdl-0.9.26.so
lrwxrwxrwx 1 grh grh 13 Jul 10 07:45 libgcc_s.so ->
libgcc_s.so.1
-rw-r--r-- 1 grh grh 53118 Jul 10 07:45 libgcc_s.so.1
-rw-r--r-- 1 grh grh 754092 Jul 10 07:45 libiberty.a
-rw-r--r-- 1 grh grh 80540 Jul 10 07:32 libm-0.9.26.so
-rw-r--r-- 1 grh grh 167762 Jul 10 07:32 libm.a
lrwxrwxrwx 1 grh grh 6 Jul 10 07:32 libm_pic.a -> libm.a
lrwxrwxrwx 1 grh grh 52 Jul 10 07:32 libm.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libm.so.0
lrwxrwxrwx 1 grh grh 14 Jul 10 07:32 libm.so.0 ->
libm-0.9.26.so
-rw-r--r-- 1 grh grh 1752 Jul 10 07:32 libnsl-0.9.26.so
-rw-r--r-- 1 grh grh 772 Jul 10 07:32 libnsl.a
lrwxrwxrwx 1 grh grh 8 Jul 10 07:32 libnsl_pic.a ->
libnsl.a
lrwxrwxrwx 1 grh grh 54 Jul 10 07:32 libnsl.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libnsl.so.0
lrwxrwxrwx 1 grh grh 16 Jul 10 07:32 libnsl.so.0 ->
libnsl-0.9.26.so
-rw-r--r-- 1 grh grh 81388 Jul 10 07:32 libpthread-0.9.26.so
-rw-r--r-- 1 grh grh 103632 Jul 10 07:32 libpthread.a
lrwxrwxrwx 1 grh grh 12 Jul 10 07:32 libpthread_pic.a ->
libpthread.a
lrwxrwxrwx 1 grh grh 58 Jul 10 07:32 libpthread.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libpthread.so.0
lrwxrwxrwx 1 grh grh 20 Jul 10 07:32 libpthread.so.0 ->
libpthread-0.9.26.so
-rw-r--r-- 1 grh grh 1760 Jul 10 07:32 libresolv-0.9.26.so
-rw-r--r-- 1 grh grh 778 Jul 10 07:32 libresolv.a
lrwxrwxrwx 1 grh grh 11 Jul 10 07:32 libresolv_pic.a ->
libresolv.a
lrwxrwxrwx 1 grh grh 57 Jul 10 07:32 libresolv.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libresolv.so.0
lrwxrwxrwx 1 grh grh 19 Jul 10 07:32 libresolv.so.0 ->
libresolv-0.9.26.so
-rw-r--r-- 1 grh grh 6035100 Jul 10 07:45 libstdc++.a
-rwxr-xr-x 1 grh grh 1766 Jul 10 07:45 libstdc++.la
lrwxrwxrwx 1 grh grh 18 Jul 10 07:45 libstdc++.so ->
libstdc++.so.5.0.6
lrwxrwxrwx 1 grh grh 18 Jul 10 07:45 libstdc++.so.5 ->
libstdc++.so.5.0.6
-rwxr-xr-x 1 grh grh 4213497 Jul 10 07:45 libstdc++.so.5.0.6
-rw-r--r-- 1 grh grh 430392 Jul 10 07:45 libsupc++.a
-rwxr-xr-x 1 grh grh 1658 Jul 10 07:45 libsupc++.la
-rw-r--r-- 1 grh grh 12844 Jul 10 07:32
libthread_db-0.9.26.so
-rw-r--r-- 1 grh grh 38148 Jul 10 07:32 libthread_db.a
lrwxrwxrwx 1 grh grh 14 Jul 10 07:32
libthread_db_pic.a -> libthread_db.a
lrwxrwxrwx 1 grh grh 60 Jul 10 07:32 libthread_db.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libthread_db.so.1
lrwxrwxrwx 1 grh grh 22 Jul 10 07:32 libthread_db.so.1 ->
libthread_db-0.9.26.so
-rw-r--r-- 1 grh grh 299536 Jul 10 07:32 libuClibc-0.9.26.so
-rw-r--r-- 1 grh grh 4608 Jul 10 07:32 libutil-0.9.26.so
-rw-r--r-- 1 grh grh 6548 Jul 10 07:32 libutil.a
lrwxrwxrwx 1 grh grh 9 Jul 10 07:32 libutil_pic.a ->
libutil.a
lrwxrwxrwx 1 grh grh 55 Jul 10 07:32 libutil.so ->
../../../../arm_nofpu/arm-linux-uclibc/lib/libutil.so.0
lrwxrwxrwx 1 grh grh 17 Jul 10 07:32 libutil.so.0 ->
libutil-0.9.26.so
notice those links like the one to:
libutil.so -> ../../../../arm_nofpu/arm-linux-uclibc/libutil.so
I don't understand these? Does it have something to do with locating the
libs on the target? If so, what does that dir structure look like?
Glenn Heard
Software Engineer
Altronic Inc
http://www.altronicinc.com/
gheard at zoominternet.net
gheard at altronicinc.com
----- Original Message -----
From: "Michael Robinson" <mrobinson at fuzzymuzzle.com>
To: <uClibc at uclibc.org>
Sent: Sunday, July 11, 2004 12:45 AM
Subject: Re: [uClibc] toolchain & buildroot script understanding...
> So the standard automatic toolchain will install the compiler to
> /usr/bin , I thought it was contained, although I think I heard someone
> mention something like this a few posts back. Just wanted to verify.
>
> Michael Robinson
> mrobinson at fuzzymuzzle.com
> www.fuzzymuzzle.com
>
> Glenn R Heard Jr wrote:
>
> >Hi again,
> >
> > I just used both buildroot and toolchain scripts from CVS compiled on an
> >i386 RedHat 9 for target ARM ( ARM920T specifically ). The build ran
> >flawlessly... even with my supplied kernel headers from a
linux-2.4.26-vrs1
> >patched kernel ( vrs1 is for arm from arm.linux.org.uk many fixes... ). I
> >let both buildroot and toolchain download their desired binutils gcc and
the
> >latest snapshots for uClibc and busybox... no build errors at all. I was,
> >however, a bit startled when toolchain wanted to start installing things
in
> >/usr/lib and /usr/bin... still haven't let that happen just yet.
> >
> >Erik,
> > Could you confirm that toolchain is behaving in an okay cross tool
> >fashion when it wants to install the finished cross-compiler into
/usr/lib
> >and /usr/bin? An okay from you will go a long way.
> >
> >Thanks,
> >
> >Glenn Heard
> >Software Engineer
> >Altronic Inc
> >http://www.altronicinc.com/
> >gheard at zoominternet.net
> >gheard at altronicinc.com
> >
> >----- Original Message -----
> >From: "Erik Andersen" <andersen at codepoet.org>
> >To: "Bryan Larsen" <bryan.larsen at lumenera.com>
> >Cc: <uclibc at uclibc.org>
> >Sent: Saturday, July 10, 2004 7:24 PM
> >Subject: Re: [uClibc] toolchain & buildroot script understanding...
> >
> >
> >
> >
> >>On Sat Jul 10, 2004 at 06:05:51PM -0400, Bryan Larsen wrote:
> >>
> >>
> >>>The first error I got complained about an undefined "BUS_ISA", so I
> >>>applied the attached patch to change this to CTL_BUS_ISA.
> >>>
> >>>
> >>Long since fixed in CVS...
> >>
> >>
> >>
>
>/opt/build/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/include -
o
> >conftest -g -Os conftest.c 1>&5
> >
> >
> >/opt/build/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/bin/ld:
> >conftest: hidden symbol `__divsi3' in
>
>/opt/build/buildroot/toolchain_build_arm_nofpu/gcc-3.3-final/gcc/libgcc.a(_
d
> >ivsi3.oS) is referenced by DSO
> >
> >
> >>>collect2: ld returned 1 exit status
> >>>
> >>>
> >>I've not tried an arm soft-float build recently. I'll have
> >>to take a look,
> >>
> >> -Erik
> >>
> >>--
> >>Erik B. Andersen http://codepoet-consulting.com/
> >>--This message was written using 73% post-consumer electrons--
> >>
> >>
> >>
> >
> >
>
>---------------------------------------------------------------------------
-
> >----
> >
> >
> >_______________________________________________
> >uClibc mailing list
> >uClibc at uclibc.org
> >http://uclibc.org/mailman/listinfo/uclibc
> >
> >_______________________________________________
> >uClibc mailing list
> >uClibc at uclibc.org
> >http://uclibc.org/mailman/listinfo/uclibc
> >
> >
> >
> >
> >
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
>
More information about the uClibc
mailing list