[RFC] new fedora ARM cross toolchain RPMS available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I've made a new set of fedora ARM cross toolchain RPMS available at:

	http://www.wantstofly.org/~buytenh/cross/

These RPMS are built from vanilla Fedora sources, with only packaging
(.spec) changes.  The goal is to produce a complete cross toolchain
that is as close as possible to a native Fedora toolchain, and usable
to cross-build Fedora packages with which are fully binary compatible
with natively built packages, with as little source/packaging changes
to the package as possible.

To try it out, drop cross.repo into /etc/yum.repos.d/, and run

	# yum install armv5tel-redhat-linux-gnueabi-gcc

The cross-compiler package will pull in a set of noarch RPMS containing
target libraries, such as glibc.  These libraries are installed in the
default gcc sysroot location (/usr/$target_triple/sys-root), and the
noarch RPMS that contain said libraries are created by repack_cross.pl,
provided in the same directory as above.

After installation, you will end up with
/usr/bin/armv5tel-redhat-linux-gnueabi-gcc, which can be used to
build ARM binaries just like you would build i386 binaries.

To cross-build an autoconf-using package, specify --host and/or
--target on the autoconf command line.  For example, to build an
ARM binary of bash-3.2 on your i386 machine, you would do:

	$ ./configure --host=armv5tel-redhat-linux-gnueabi
	$ make

This works fine, and the resulting binary runs fine in an FC6 ARM
chroot on real ARM hardware.

Please send feedback. :-)


thanks,
Lennert


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux