Вы находитесь на странице: 1из 1

24/11/2016 process:vxgcc.

sh [GCC DMZ Wiki]

GCC DMZ Wiki


ala-gcc-web01.wrs.com (10.100.2.23)

1. Get build scripts from GIT server(http://ala-gcc-git01.wrs.com/cgit/ [http://ala-gcc-git01.wrs.com/cgit/])

$ git clone git@ala‐gcc‐git01:home/bpang/scripts 
$ export PATH=$PATH:`pwd`/scripts 

2. Use script vxgcc.sh to build GNU tool chain, for example to build GCC 4.8.1 for ARM:

$ export VER=4.8.1 ARCH=arm 
$ vxgcc.sh 

To build the tool chain for another version/another architecture you need to give different values to environment variables VER
and ARCH, please check the file to see if the desired version and architectures are supported.

3. Go into source code directory $VER/$ARCH/build/src and do whatever necessary change.

4. To rebuild the whole toolchain

$ rm ‐fr $VER/$ARCH/build/{install,logs,marks/*,obj,pkg} 
$ vxgcc.sh

process/vxgcc.sh.txt · Last modified: 2016/03/07 09:39 by bpang

http://10.100.2.23/doku.php/process/vxgcc.sh 1/1

Вам также может понравиться