1. The RedHat system profile file contains the following content:
# Path manipulation
If ['id-U' = 0]; then
Pathmunge/sbin
Pathmunge/usr/sbin
Pathmunge/usr/local/sbin
# Pathmunge/opt/embedsky/crosstool_3.4.5/gcc-3.4.5-glibc-2.3.6/ARM-Linux/bin
Pathmunge/pot/embedsky/4.3.3/bin
Fi
Select the cross-compiler version, and then source/etc/profile to make it take effect.
In the SuSE profile, because its path is output in append mode, you can set it in the following way:
# Path = $ path:/opt/embedsky/crosstools_3.4.5_softfloat/gcc-3.4.5-glibc-2.3.6/ARM-Linux/bin/
# Export path
Path = $ path:/opt/embedsky/4.3.3/bin/
Export path
# Export set Path =/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin: /usr/lib/JVM/JRE/bin
You can use set path to restore the previous state and then append the cross compiler.
2. files and directories under the/etc directory
Fstab indicates the file system to be mounted
Group user group information
Inittabinit Process configuration file
Shadow
Passwd
Profile user configuration file
The kernel of mdev. conf 2.6.18 gave up devfs and used udev (simplified version of mdev)
Resolv. conf stores DNS configuration information
Init. d-> RC init. d stores the configuration and auto-start loading information during system startup.
Sysconfig
Rc. d stores the script information required for Automatic startup.
VI/etc/xinetd. d/TFTP
/Etc/init. d/xinetd restart
Hexadecimal number, except for two decimal numbers: less than 400