Hardware Reference
In-Depth Information
Create /opt/x-tools
You can choose a different location if you like, but I'm going to assume that the crosstool-NG
software is going to install into /opt/x-tools . We'll also assume your user ID is fred
(substitute your own).
$ sudo mkdir -p /opt/x−tools
$ sudo chown fred /opt/x−tools
Once your installation is complete later, you can change the ownership back to root
for protection.
Install Package Dependencies
The crosstool-NG build depends on several packages provided by Ubuntu/Debian as
optionally installed software:
bison : GNU yacc
flex : GNU lex
subversion : Subversion source control package
libtool : Library tool
texinfo : Install the texinfo package
gawk : GNU awk ( gawk )
gperf : Perfect hash function generator
automake : Tool for generating GNU standards-compliant
Makefile s
Save time by making sure these packages are installed before proceeding to the next
step. Package dependencies often change over time. Depending on your host system,
you may find that additional packages (such as libncurses5-dev , for example) are also
needed. If more packages are needed, the configure step usually identifies them.
Configure crosstools-NG
With the package dependencies installed, you are now in a position to make the
crosstool-NG software:
$ cd ~/devel/staging/crosstool−ng−1.19.0
$ ./configure −−prefix=/opt/x−tools
If this completes without errors, you are ready to build and install the crosstool-NG
software. If it reports that you are missing package dependencies, install them now and
repeat.
 
Search WWH ::




Custom Search