The Linux already having both gcc & arm-gcc in the environment path: So I configure the gdb 6.6: compiled without error, but looks like gdb used the wrong compiler. So How to indicate the correct CC for gdb? I tried make CC=arm-none-linux-gnueabi-gcc, but will get the error: Answer Don’t use –target. It means something else to Autotools. Use –build and
Tag: autoconf
How to print value of C macro in configure
I have configure.in script. I want to invoke configure ( after autoheader && autoconf ) and see value of PAGE_SHIFT macro from system header page_types.h. Something like this: checking PAGE_SHIFT… 12 I’ve tried those: 1. Result: macro PAGE_SHIFT was detected, but haven’t been printed 2. Result: doesn’t work 3. Result: works, but can’t be used with cross-compile method was suggested
How can I make a chgrp command optional in my install script?
I’m creating an install script for a Linux game. As part of the installation, I change the suid permissions of the game executable to the “games” group so that the game can update the highscore file even when its run by regular users. Right now my Makefile.am looks like this: The problem I am having is that the chgrp command