On Tue, 01 Nov 2005 14:32:31 +0100, Joerg Schilling writes:
>> 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).
>
>If you believe this, please explain why.

I have cross-built a Linux for our embedded PowerPC boards for many years
now. I remember the early days when almost everything complained about cross
building.

Over the last year or so, I have switched to using OpenEmbedded and have seen
far fewer cross-building problems. The OpenEmbedded build system probably
contributes to the success too.

So my contention is based on many years Linux embedded work. Your milage
may vary, I guess.

>Don't lok at simple programs, look at cdrecord, star or similar.

I have to build boot code, linux kernel, kernel modules (drivers etc), and
all the standard Linux/GNU software (from init to shells to utilities etc).

I must admit that I have no need for things like graphics adapters, cd/dvd
drives (or any disk drives at all), keyboards/misc, etc. so I suppose you
could say that most of the stuff I deal with is "simple".

But in the end, it depends on the author of the "package" and how well they
write their autoconf scripts. You can work out most things about the target
environment in a cross-building friendly fashion.

>If you create build system for a well known list of target platforms _only_
>that all ose the same OS, it is better stay with a static non-autoconf
>based system and this decision then will make things easier.

Fair enough - so how good is the cross-building support for OpenSolaris? e.g.
Will I have much work ahead of me to build OpenSolaris for a PowerPC target
on Solaris 10/x86? 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.


Reply via email to