[NTLUG:Discuss] cross compiling question

Jack Snodgrass jack at jacksnodgrass.com
Tue Oct 26 17:51:16 CDT 2004


I've found several programs ( nano for instance ) that give you errors 
like: 
checking for regex.h... (cached) yes
checking for broken regexec... configure: error: cannot run test program
while cross compiling
See `config.log' for more details.

in order to run config, I have to go into the configure script and hack 
around the if crosscompile=yes, stop running code....

Is this standard procedure for configure and cross compiler setups? 
configure CAN run the test program if you comment out the check. 

I guess I don't understand why configure has some support for cross
compilers... it detects it and verifys that it works... but but
then exits out later because your running a cross compiler....

Does anyone have much experience with this... 

Thanks - jack 

-- 
Jack Snodgrass <jack at jacksnodgrass.com>




More information about the Discuss mailing list