Linux cross-compilation configuration and File System Configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.