Greetings: What you need to do is make symlinks to your arm_v5t_le-* tools so that the name of the tool fits the canonical form: armv5tl-montavista-linuxeabi-*
So, you will now have something like this for the compiler: armv5tl-montavista-linuxeabi-gcc Now that you have all those symlinks, you can use the cross-compile feature of 'configure'. Depending on the package, you may need to create a cache file for configure that has the platform specific options pre-set so that you don't run into errors something like "Cross compiling - cannot run test". The instructions for doing that are a little more involved, but can be found with a google search for "cross compile configure cache file". Each package has different requirements but most of the platform dependent variables are the same. Also, I would be careful when specifying a prefix, especially when deploying to a embedded target. Adding the prefix sometimes also changes the 'rpath' in the library and any apps that are linked against it will look in the hard-coded path instead of the proper path found by ld. If you are installing to a file system tree on a development host box, this will really mess things up for you when you build your root fs. Most configure scripts generate make files that allow you to specify a root path to install by using DESTDIR variable. For example, if your root filesystem is at /home/user/rootfs, then install there by doing: make install DESTDIR=/home/usr/rootfs If you install that way, the /home/user/rootfs will contain all the appropriate directories to build the rootfs from. So, your configure call will use --host=armv5tl-montavista-linuxeabi parameter and other options. Be sure to not specify a 'CC' variable as this is already done by configure. Regards, David -- DAVID A. KONDRAD Software Design Engineer Home Systems Division Legrand, North America [email protected] http://www.legrand.us/onq This email, and any document attached hereto, may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorized, direct or indirect, copying, disclosure, distribution or other use of the material or parts thereof is strictly forbidden. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
