1. decompress the package first.Arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz
# Tar xvzf arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz-C/Usr/local/ARM/4.5.1
Note: C is in upper case, and C is followed by a space, which is the first letter of the English
In Linux, the/etc/sysconfig/network-script/ifcfg-eth0 file stores information about the IP Address Configuration of the sub-nic, the specific format is:
# Cat ifcfg-eth0 [root @ localhost network-Scripts] #Device = eth0Bootproto = noneOnboot =
--View IP Address: ifconfig, similar to ipconfig of XP
--Sudo is a Linux system management command. It is a tool that allows common users to execute some or all of the root commands, such as halt, reboot, and Su. This not only reduces the login and
Inter-process communication in Linux (1)
Http://www.ibm.com/developerworks/cn/linux/l-ipc/part1/
Process Communication in Linux (2)Http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html
Communication between processes in Linux
Linux Kernel reduction and root file system customization (1) -------- Linux kernel reductionDirectory:
I. kernel Compilation
Ii. root file system Customization
Iii. kernel options
I. kernel Compilation
1. Preparations
(1) sort out the hardware,
As the default desktop environment of ubuntu, gnome is a development and desktop environment that supports multiple platforms. gnome has many powerful features, such as high-quality smooth text rendering, first International and availability support.
We all know that *. A represents a static library; *. So represents a dynamic library. How can we create these two databases?
How to Create a static Library:
Compile the Code as the target file:
# Gcc-C liberr. C-o liberr. o
Tools usedArCreate
Sequence of three systems
It is like installing Windows 7 and XP dual systems. It is also very important to install one first. If it is not in the correct order, it may not be able to find another system, that is, the issue of being unable to guide.
The RENAME Command in Linux has two versions:
C language version
Perl
The C language command is as follows:
Rename New String File Name of the original string
Example 1: There are two files under the directory test: a_01 and a_02. If you need
2.4 Common System Support 2.4.1 memory application and release Include/Linux/kernel. h declares kmalloc () and kfree (). It is used to apply for and release memory in kernel mode.Void * kmalloc (unsigned int Len, int priority );Void kfree (void * _
1: software package to be installed:
Compiz fusion-icon;
Compiz config settings Manager (compiz configuration settings manager package)Fusion-Icon Software Package );
Install the driver that matches the video card in the attached driver, and ensure
I don't know if you have encountered any problems with shoot in Linux,
Generally, srand (time (0) is used for initialization randomization seeds ));
However, in Linux, the time function can only return accurate time to seconds, which means that we
Cainiao compiles Linux Kernel
Pig with double eyelid
Cainiao, I recently studied how to compile the Linux kernel. I hope to share it with you... We will not discuss the source code here, but some kernel compilation steps and related knowledge...
1. getenv
Header file
# Include
Function prototype
Char * getenv (const char * Name );
Function Description
Getenv () is used to obtain the content of the parameter name environment variable. The parameter name
Http://linux.chinaitlab.com/c/806015.html
Function prototype:
# Include "stdio. h"
File * popen (const char * command, const char * Mode)
Parameter description:
Command: a pointer to a shell command string ending with null. This line of command will
Download enterpriseworkbenchinstaller_4.1.1ga_e3.1.bin and run it on the terminal:
./Enterpriseworkbenchinstaller_4.1.1ga_e3.1.bin
The following error message is displayed:
Unable to locate the application's 'main' class. The class'Com. zerog. Ia.
The directory structure is:
INC/Hello. h
Src/Hello. c
Main/Main. c
Makefile
File Content:
Hello. h:
Void Hello (char name []);
Hello. C:
# Include void Hello (char name []) { printf ("Hello % s! /N ", name); }
Main. C:
# Include # include
I recently used mini2440 to learn the Linux driver and take notes.
LED driver:
Static int _ init dev_init (void)
The prefix __init is often seen in the driver's initialization function,This is defined in the following file
File:/include/Linux/init.
Vncserver configuration in Linux and VNC client in win
VNC was initially developed by at&t and is a software that remotely manages the system. The operation method is similar to the Common Remote Desktop in windows, and its qualification is older
You can also refer to the previous blog "install and configure JDK in a Linux system environment". The principle is the same. The reason why I wrote this article again is mainly to look at the practices of foreigners (although it was written by
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