This paper is focus on how to build a cross-compiling environment based on arm and linux conveniently.The work was separated as several different parts and the task of each part was accomplished in a corresponding script file.In the last only one script,in which all the scripts are executed,need to be executed this means just only one command can make the whole work of building a cross-compiling environment based on arm and linux.