I agree whole heartedly!
I spent months trying to build my own ARM toolchain until I was pointed to
an ftp site that had a precompiled version. It works SO MUCH BETTER!
Phil
On Thu, 21 Dec 2000, Erik Mouw wrote:
> On Thu, Dec 21, 2000 at 02:19:00PM +0100, Edelmann Thomas wrote:
> > I want to build a ARM Toolchain for the Cirrus Logic EvalBoard EDB7211.
> >
> > I tried to use:
> >
> > binutils-2.10.1
> > gcc-2.95.2 with gcc-2.95.2-diff-991022
> > glibc-2.1.3
> > kernel linux-2.4.0-test6 + patch-2.4.0-test6-rmk6 +
> > patch-2.4.0-test6-rmk6-bluemug3
>
> Looks OK to me.
>
> > binutils compiles successfully with:
> >
> > ./configure --target=arm-linux --prefix=/usr/local/arm
> > make
> > make install
> >
> > gcc-2.95.2
> >
> > added -Dinhibit_libc Hack
> >
> > ./configure --target=arm-linux --prefix=/usr/local/arm
> > make LANGUAGES=c
> >
> > ERROR:
> > cp ./config/arm/lib1funcs.asm libgcc1.S
> > for name in _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx; \
> > do \
> > echo ${name}; \
> > /opt/arm3/gcc-2.95.2/gcc/xgcc -B/opt/arm3/gcc-2.95.2/gcc/
> > -B/usr/local/arm/arm-linux/bin/ -I/usr/local/arm/arm-linux/include -O2
> > -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -fomit-frame-pointer -fPIC
> > -Dinhibit_libc -D__gthr_posix_h -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
> > -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -I./../include -c -DL${name}
> > libgcc1.S; \
> > if [ $? -eq 0 ] ; then true; else exit 1; fi; \
> > mv libgcc1.o ${name}.o; \
> > arm-linux-ar rc tmplibgcc1.a ${name}.o; \
> > rm -f ${name}.o; \
> > done
> > _udivsi3
> > _divsi3
> > _umodsi3
> > _modsi3
> > _dvmd_lnx
> > make[1]: Leaving directory `/opt/arm3/gcc-2.95.2/gcc'
> > libgcc1.S:438: asm/unistd.h: No such file or directory
> > make[1]: *** [libgcc1-asm.a] Error 1
> > make: *** [all-gcc] Error 2
>
> The linux kernel tree must be a _configured_ kernel tree. So you have
> to run "make menuconfig" once. It doesn't matter what kind of ARM
> system you select, as long as the tree is configured.
>
> Don't fiddle too long with the cross compiler stuff. Just download one
> of the many available precompiled tool chains.
>
>
> Erik
>
> --
> J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
> of Electrical Engineering, Faculty of Information Technology and Systems,
> Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
> Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED]
> WWW: http://www-ict.its.tudelft.nl/~erik/
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
>
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm