export PATH=/usr/local/arm/bin:$PATH
This assumes the binaries are in /usr/local/arm/bin. I put it at the beginning of the PATH so when you run gcc, it will pick up that version, which is not what you want if you're trying to compile a native i386 program. You can play with the CC environment variable (setting it is jhust like setting any other environment variable, including PATH) to select your compiler, and any sane Makefile we recongize it.
You can add this to your shell startup files (.bashrc and .bash_profile if you're using bash) so you don't have to retype it whenever you log in.
|