Am Mit, 2002-07-31 um 16.11 schrieb Owen Taylor: > What's blocking #77565 is simply the time for me to look at > it and understand the issues. The issues here are that it's impossible for a build machine to figure out what requirements have to be met for the target by running compiled programs because the host cannot execute them in most cases. Thus to crosscompile the sources the programmer has to create a config.cache which answers the open questions but this can be really a royal PITA. Sensible approaches IMHO are: - Reducing the amount of runtime tests to a minimum by replacing them with compile tests. This is possible in quite a few cases and eases some pain. - Carefully defining defaults which match most machines with a big message that they may not suit for this particular machine when being used. - Extending the configuration to predefine correct answers for popular systems identified by triplets. Depending on how widespread some of the tests are this might also go into a general macrofile which could be used from other applications also. Disadvantage: bloat. -- Servus, Daniel
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil