This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc compile


Sascha Andres wrote:
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> hi,
> i've build the gcc with the following command line:
> 
> /src/gcc/gcc-2.95.2/configure --target=arm-elf \
>     --prefix=/tools \
>     --exec-prefix=/tools/H-i686-pc-linux-gnu \
>     --with-gnu-as --with-gnu-ld --with-newlib \
>     --nfp \
>    -v 2>&1 | tee configure.out
> make -w all-gcc install-gcc \
>     LANGUAGES="c c++" 2>&1 | tee make.out
> 
> the binutils are build without any errors and this
> runs through too. but when compiling a simple c file
> i get the message
> 
> 'crt0.o not found.'.
> 
> there is no crt0.o for arm-elf in the/tools dir.
> so how to compile the missing file(s) ?

You need to build newlib for your target. Read the crossgcc FAQ (see the
end of this message).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]