by jesmith » Thu Feb 18, 2010 7:14 am
I'm doing the configure with these args, which I derived from the output of gcc -v that ships with the TB:
--enable-languages=c,c++,java
--with-x
--enable-java-awt=xlib
--disable-gtktest
--with-gnu-ld
--enable-shared
--enable-target-optspace
--enable-threads=posix
--enable-multilib
--enable-c99
--enable-long-long
--enable-symvers=gnu
--enable-libstdcxx-pch
--program-prefix=arm-angstrom-linux-gnueabi
--enable-cheaders=c_std
--enable-__cxa_atexit
I installed binutils 2.20, and linked the following directories from gcc's src dir to binutils:
bfd binutils gas gprof ld opcodes
When I do the make, I get this error:
earmelf_linux_eabi.o: In function `gldarmelf_linux_eabi_write_build_id_section':
/home/ai/compile/objdir/ld/earmelf_linux_eabe.c:1369: undefined reference to `sha1_init_ctx'
and then a bunch more sha1-related errors
When I previously tried to do the build without first installing binutils, I got errors about not knowing the suffix for object files.
-Joshua