My system environment: Vista installs Ubuntu in the Virtual Machine virtualbox and installs the Enhancement Tool. 2. Create the following folders in the Ubuntu user directory: cross, tools, and source. Tools: place the cross-compilation tool source: Save the source code 3.go to the dd-wrtofficial website to download the cross-compilation tool toolchains.x86.debian.sp1.tar.bz2 4. Change too
My system environment: Vista
Install Ubuntu in virtualbox
1. Install Ubuntu and the Enhancement Tool
2. Create the following folders cross, tools, and source in the Ubuntu user directory.
Tools: place the cross-compilation tool. source: store the source code.
3.download the cross compilation tool toolchains.x86.debian.sp1.tar.bz2 to the dd-wrtofficial website
4.decompress 4.1.0-uclibc-0.9.28 in toolchains.x86.debian.sp1.tar.bz2 to the tools directory and change it to dd
The program compiled by this cross-compilation tool can run normally under tomato and dd-wrt.
5. install some required tools
Sudo apt-get install bison flex build-essential patch libncurses5-dev
6. At this time, the preparation is basically complete.
Run
Export PATH = "$ PATH:/home/jacky/tools/dd/bin" (modify the PATH according to the actual situation)