[Clfs-support] [Clfs-dev] clfs-embedded toolchain: uClibc build against with libgcc.a when the gcc-pass2 haven't been installed yet!

Binghoo Dang dangbinghoo at gmail.com
Sat Nov 8 07:22:01 PST 2008


Jon Dufresne 写道:
>> I just tried the command "all-target-libgcc" and "install-target-libgcc" for
>> building libgcc.a , but
>> the same error it takes: libgcc.a need target crti.o which is generated by
>> uclibc.
>>
>>     
>
> The following was recommended to me by George Boudreau as a list of
> configure options for gcc during the static build stage:
>
> --prefix=${TOOLS}    \
> --build=${HOST}      \
> --host=${HOST}       \
> --target=${TARGET}   \
> --with-sysroot=${ROOTFS} \
> --disable-multilib   \
> --disable-nls        \
> --disable-shared     \
> --enable-languages=c \
> --disable-libssp        \
> --disable-threads       \
> --disable-decimal-float \
> --disable-bootstrap  \
> --without-headers    \
> --with-newlib        \
>
> Perhaps, "--without-headers"  is what you are missing. My guess is
> this configures gcc to build without glibc headers. Someone correct me
> if I'm wrong. Either way I suggest playing with that list of configure
> options
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>   

Thanks all kind man!

I'm telling that I successfully built the toolchain.
with gcc-4.3.2,binutils-2.19,uClibc-0.9.30-rc3.

Building is successful on both x86 and ARM.

Here's my script for the building.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-toolchain.sh
Type: application/x-shellscript
Size: 13249 bytes
Desc: not available
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20081108/b886f640/attachment-0002.bin>


More information about the Clfs-support mailing list