>> I wanted to see how the corss toolchain for fedora was built so I >> tried to fetch is source RPMs. > > http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/latest/source/ Thanks for the URL. I tried to build an rpm on Fedora 14 - x86_64 and it doesn't build: ( srpm file used is http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/latest/source/gcc-4.1.2-33.fa1.cross5.src.rpm ) $ rpmbuild -ba gcc41.spec warning: line 168: prereq is deprecated: Prereq: /sbin/install-info warning: line 352: prereq is deprecated: Prereq: /sbin/install-info warning: line 417: prereq is deprecated: Prereq: /sbin/install-info warning: line 429: prereq is deprecated: Prereq: /sbin/install-info warning: line 494: prereq is deprecated: Prereq: /sbin/install-info warning: line 530: prereq is deprecated: Prereq: /sbin/install-info Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6FUgBt + umask 022 + cd /home/sansari/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/sansari/rpmbuild/BUILD + rm -rf gcc-4.1.2-20070925 + /usr/bin/bzip2 -dc /home/sansari/rpmbuild/SOURCES/gcc-4.1.2-20070925.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-4.1.2-20070925 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (gcc41-ice-hack.patch):' Patch #1 (gcc41-ice-hack.patch): + /bin/cat /home/sansari/rpmbuild/SOURCES/gcc41-ice-hack.patch + /usr/bin/patch -s -p0 -b --suffix .ice-hack~ --fuzz=0 + echo 'Patch #2 (gcc41-ppc64-m32-m64-multilib-only.patch):' Patch #2 (gcc41-ppc64-m32-m64-multilib-only.patch): + /bin/cat /home/sansari/rpmbuild/SOURCES/gcc41-ppc64-m32-m64-multilib-only.patch + /usr/bin/patch -s -p0 -b --suffix .ppc64-m32-m64-multilib-only~ --fuzz=0 1 out of 1 hunk FAILED -- saving rejects to file gcc/config/rs6000/t-linux64.rej error: Bad exit status from /var/tmp/rpm-tmp.6FUgBt (%prep) RPM build errors: line 168: prereq is deprecated: Prereq: /sbin/install-info line 352: prereq is deprecated: Prereq: /sbin/install-info line 417: prereq is deprecated: Prereq: /sbin/install-info line 429: prereq is deprecated: Prereq: /sbin/install-info line 494: prereq is deprecated: Prereq: /sbin/install-info line 530: prereq is deprecated: Prereq: /sbin/install-info Bad exit status from /var/tmp/rpm-tmp.6FUgBt (%prep) > CodeSourcery is an ugly tarball approach, I don't know about GNUARM. > > Since cross is only needed for Kernel and Bootloader with the Fedora > packaging approach, you're best off using the Fedora cross packages and the > Fedora native toolchain for everything else. I agree. However, I wanted to know that if we go about providing a tool-chain which would support ARMv7, then where would we pick the source code from? I assume that Fedora tool-chain is built from GNUARM. Please do correct if my assumption is wrong. /tuxdna _______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm