On Sat, 29 Oct 2005 10:05:45 +0200, Joerg Schilling writes: >A lot of software (all that uses autoconf) cannot be compiled on a different >CPU without manually editing all autoconf results which may take a long time.
I cross-build OpenEmbedded (GNU+Linux) for our PowerPC boards on both Solaris 9/SPARC and Linux/x86 hosts. Cross-building with autoconf is not too bad these days - and OpenEmbedded makes it pretty simple to handle the odd cases where autoconf gets it wrong (and if a simple environment variable override doesn't work). I do use the CSW stuff to provide an environment that overrides a lot of the Solaris system tools with more Linux/GNU friendly tools (Linux people have trouble writing portable code) which helps a lot. But also, I have noticed quite an improvement in the autoconf scripts recently - they appear to be trying to avoid those "run a program" type tests now. I don't think autoconf deserves the bad rap about cross-compiling anymore (besides, its just a tool really, the problem was always with the software authors which didn't write the autoconf scripts properly - they tended not to cross-compile so much until recently). >As the Solaris ON tree is not using autoconf, this is different.... Do you think this will make it easier or harder? I had a quick look at the OpenSolaris sources and it appears that there is support for cross compiling in the Makefiles (the NATIVE* variables). How good is that support? What about the ON tools - how well do they support cross-building? In any case, the question is moot (for me). I have this nice quad Opteron system I can use for OpenSolaris building, and my target system is PowerPC. So I have to make this work :-) Cheers! Murray... -- Murray Jensen, CSIRO Manufacturing & Infra. Tech. Phone: +61 3 9662 7763 Locked Bag No. 9, Preston, Vic, 3072, Australia. Fax: +61 3 9662 7853 Internet: Murray.Jensen at csiro.au To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference. The information contained in this e-mail may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this e-mail in error, please delete it immediately and notify Murray Jensen on +61 3 9662 7763. Thank you.