How to cross-compile glib?



 
    I have to cross-compile glib on linux for my project, I tried to do it but I failed.
 
    First , I export the environment variable such as CC, AR ,and etc... Then I want to
 
    run ./configure ,but have some error message like this :
 
            checking host system type... ./config.guess: ./dummy-7425: cannot execute binary file
            ./config.guess: ./dummy-7425: cannot execute binary file
            configure: error: can not guess host type; you must specify one
   
    What should I do for it such that I can cross-compile glib successfully ?
 
    kjh


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