[Clfs-support] Need help building the cross toolchain

Jon Dufresne jon.dufresne at gmail.com
Fri Nov 7 23:33:21 PST 2008


> 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



More information about the Clfs-support mailing list