Step 1: copy the cross-compilation tool chain arm-Linux-gcc-4.5.1-V6-vfp-20101103.tgz to the Windows shared folder, then go to the Linux system, click computer, select the network, find the local machine, and then select the shared folder, copy
Notes and experiences on learning embedded Linux systems
A typical Desktop Linux system includes three main software layers: Linux kernel, C library, and ApplicationProgramCode.
The kernel is the only layer that can fully control the hardware.
You can use the following steps to compile the dynamic library in Linux (assuming that the source file of the dynamic library is named source. CPP, the target file generated by compilation is DeST. o. In the following content, XXX is the name of the
To create a directory under the/sys/directory, You need to register a kobject structure with the kernel. This structure is a carrier of the directory. The attribute of this structure is saved by struct kobj_type. The method for registering kojbect
When using a computer, do you know that you are using an operating system? Some people will say Microsoft's Windows, but do you know about Linux? Some people say that Linux is not as good as windows, but it is because you do not understand Linux.
Use wget
For example, if you want to download http://www.cplusplus.com/reference/the entire site's east and west, the command is as follows:
Wget-r-k-NP-P http://www.cplusplus.com/reference/
The following describes the parameters:-R, -- Recursive
Some Humorous things to do to a UNIX system:From the CSH (C shell ): % Make loveMake: Don't know how to make love. Stop. % Got a light?No match. % Sleep with meBad character % MAN: Why did you get a divorce?MAN: Too required arguments. % RM GodRM:
1. Back up the data first:Sudo CP/etc/X11/Xorg. CONF/etc/X11/Xorg. conf. Backup2. Open Xorg. conf:Sudo gedit/etc/X11/Xorg. conf3. Find the following section and modify it here:Section "Monitor"Identifier "generic monitor"Option "dpms"Horizsync
MBR (Master Boot recorder) Stores hard disk information in the Main Boot Sector. MBR is the heaviest hard disk.This is because two important items are recorded in the MBR: The Boot Management Program and the partition table ). Therefore, we are
First, you need to download the 5.5.3 for linux package. if the version is low, the kernel cannot be found.Decompress the package. (I decompress all the files in this package to the vmware-distrib directory on the desktop.) in the terminal window,
The general steps for TCP programming servers are as follows:
1. Create a socket and use the function socket ();2. Set the socket property. Use the setsockopt () function. * optional.3. Bind the IP address, port, and other information to
Imagine a scenario where you want to intercept (hijack) a local egress connection (localout) or a forward connection (prerouting), and content in the two directions of the Connection
Make changes, such as: 1. Connect the connection to the remote
Command description
Copy CP
Transfer File move mv
Delete file del RM
List objects dir ls
Create the mkdir directoryDelete the rmdir/RM directory
Clear screen CLS clear/ResetClose shell exitDisplay and set dateDisplay the output on the screen
1) Introduction to Linux programming-Basic KnowledgeBasic knowledge of C language programming in LinuxPreface:This article introduces the basic knowledge required for C language programming in Linux. In this article, we willYou will learn the
Linux inter-process communication
Introduction to several main methods for inter-process communication in Linux:
A)Pipeline (PIPE) and famous Pipeline (Named Pipe): pipeline can be used for communications between kinship processes. Famous pipelines
1. Modify boot. ini with C:/grldr = "Grub"2. Install wingrub3. Install paragon Hard Disk Manager4. Select Tools> partition list in wingrub to get the drive letter, for example: (hd1, 4)5. Use paragon Hard Disk Manager to split two partitions: one as
I searched the internet and found a lot of commands. Most people don't care about the new usage, and 90% of the workload is a simple one or two commands. So remember that one or two commands can solve the problem of 90% of the workload.
The
View CPU information (model)# Cat/proc/cpuinfo | grep name | cut-F2-D: | uniq-C8 Intel (r) Xeon (r) CPU e5410 @ 2.33 GHz(We can see eight logical CPUs and the CPU model)
# Cat/proc/cpuinfo | grep physical | uniq-C4 physical ID: 04 physical ID: 1(It
An error occurred while compiling the kernel. For example, the following error occurs: Maid: Invalid option 'Abi = aapcs-Linux ': Using arm-Linux-gcc-V
Yan @ Yan-LAPTOP:/etc $ arm-Linux-gcc-V
Using built-in specs.
Target:
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