Hardware Reference
In-Depth Information
Save Configuration
Unless you have a reason to change anything else, exit the menu again to cause the Save
prompt to appear:
Upon selecting Yes, the command exits with the following session output showing in
the terminal window:
$ ct−ng menuconfig
IN config.gen/arch.in
IN config.gen/kernel.in
IN config.gen/cc.in
IN config.gen/libc.in
IN config/config.in
#
# configuration saved
#
At this point, it is worth mentioning that you may want to save your configuration
somewhere outside the current directory. The configuration is saved in a file named
.config and can be copied elsewhere. The following is a suggestion:
$ cp .config ~/ct-ng.config.bak
Saving the file outside the current directory will prevent accidental loss if
ct-ng distclean is invoked.
Build Cross-Compiler
Check the ownership of /opt/x-tools . If you don't own this directory, change the
ownership now:
$ sudo chown −R fred /opt/x−tools
This will save you from having to execute the build process with root privileges.
Now at long last, you can initiate the building of the cross-compiler:
$ cd ~/devel/staging
$ ct−ng build
 
Search WWH ::




Custom Search