As far as I know, ./configure script is generated with GNU Autoconf. I don't know about Autoconf at all. How do these tools work, and how can I use this ./configure script to make source to cross-compile?
            Asked
            
        
        
            Active
            
        
            Viewed 9,141 times
        
    5
            
            
        
        eonil
        
- 83,476
 - 81
 - 317
 - 516
 
- 
                    1Possible duplicate of [How to determine host value for configure when using cross compiler](https://stackoverflow.com/questions/21990021/how-to-determine-host-value-for-configure-when-using-cross-compiler) – OpalApps Oct 11 '17 at 12:04
 
1 Answers
5
            This is a pretty good little article to read on how to cross-compile: http://linux.bytesex.org/cross-compiler.html.
The main part in cross-compiling is setting the configure flags for the compiler to poinst to the target architecture and platform:
./configure --target=sparc-linux --with-gnu-as i486-redhat-linux
This might be outdated (modified copy & paste from that article), but the same concept still applies.
        Blender
        
- 289,723
 - 53
 - 439
 - 496