missing crt1.o for cross compiler

John He aabbcc_2003@hotmail.com
Sat Oct 14 07:17:00 GMT 2006

Hi Folks,

I have been trying to build a  sparc64-unknown-linux-gnu cross
compiler(gcc-4.1.0) on i686-pc-linux-gnu for quite a while without success.
I am a beginner so please bear with my stupidity.

I am following a 3-step approach, after building binutils(2.16.1)
and glibc(2.3.6)/linux( header files, i started build a boot
strap cross compiler without glibc. Then uses the bootstrap cross
compiler to compile glibc. Lastly, build the full cross compiler.

The problem pops up  when building bootstrap cross compiler.
It complained about missing crt1.o during ld.

Could you help me out how to fix it? I am really desperate now:)
The configure I am using is

  ../gcc-${GCC_VER}/configure \
    --prefix=${INSTALL_DIR} \
    --host=${HOST} \
    --target=${CROSS_HOST} \
    --with-newlib \
    --disable-shared \
    --disable-threads \
    --enable-languages="c" \
    --disable-multilib \
    --disable-nls \
    --enable-symvers=gnu \
    --enable-__cxa_atexit \
    --with-sysroot=${SYSROOT} \


All-in-one security and maintenance for your PC.  Get a free 90-day trial!  

For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list