Use cmake in Linux to build applications

Cmake is a cross-platform automated construction system. It uses a file named cmakelists.txt to describe the building process and generate standard building files, for example, makefile of Unix or projects/workspaces of Windows visual c ++. The file

Reading Notes building embedded Linux systems Chapter 1

Computers, including the above software, have always been used as tools and tools. When it comes to problems, we will go to online communism. Now, I want to customize the Linux operating system and use it in mobile phones and mobile phones. The

Modify the NIC name in Linux

Use VI to open/etc/udev/rules. d/70-persistent-net.rules, The content of this file is: # This file maintains persistent names for network interfaces.# See udev (7) for syntax.## Entries are automatically added by the

Minimal preparation of Linux USB flash drive

Recently, we have been cropping the Linux kernel. Today we try to create a USB flash drive. Instead of using the file system of the original system, we directly use initrd. the file system in img finally obtains a bash without logging on to or

LINUX module Loading records

Hello Program #include #include MODULE_LICENSE("Dual BSD/GPL");MODULE_AUTHOR("Hanson He");static int __init hello_init(void){ printk(KERN_ALERT "Hello world\n"); return 0;}static void __exit hello_exit(void){ printk(KERN_ALERT "

Install the gcc cross-compilation tool in linux and its "floating point number exceptions"

  1. to install it under the root user, the installation may fail under other users. 2. If the "floating point exception" is displayed after the installation is successful, it may be your Linux   Generally, you can reinstall another version of Linux

Linux linked list Learning

I think every programmer knows the linked list very well. The structure is like a chain, one by one, and the access to it is a bit like a sugar gourd. If you want to eat the second one, you must first eat the first one. This is a one-way linked list.

Socket programming: porting from Linux to Windows

From: http://www.cic.tsinghua.edu.cn/jdx/book1/CHAPTER3.htm   Add the # include statement to the source file. Call the WSAStartup () function to initialize Windows Sockets DLL, and call the WSACleanup () function at the end to notify Windows

Linux kernel source code learning (1) memory ing mode

Was posted on the Baidu space blog. I moved it today. Linux kernel source code learning (1) memory ing modeFlyliNow I have learned the Linux kernel. I think the best way to learn the kernel is to read the source code. I have been reading it

Building Embeded Linux System Chapter 9 Bootloader Creation

Different types of Bootlader Generally, LILO or GRUB is used for x86 PC machines. These systems contain firmware (BIOS), which is used for programs of major system components, such as initializing a RAM controller, protecting the CPU in a specific

Configure lihei pro pretty font for Ubuntu Linux to convert from: http://hi.baidu.com/livewithgnome/blog/item/aa7affc64c4c9ca08226ac

From: http://hi.baidu.com/livewithgnome/blog/item/aa7affc64c4c9ca08226ac1d.html Shows the lihei Pro font effect:The configuration process is as follows:1. Create a folder/usr/share/fonts/Apple/. Download the font and decompress it.Click here to

Summary of file I/O programming in Linux

1.1 file descriptorThe file descriptor (fd) is equivalent to the file handle in windows programming. It enables a non-negative integer to reference an open file.In Unix, the file descriptor 0 (STDIN_FILENO) is the standard output, 1 (STDOUT_FILENO)

Install and configure subversion in linux

Preface: Svn (subversion) is a version management tool that has emerged in recent years and is the successor of cvs. Currently, most open-source software uses svn as the code version management software.Test environment: Centos 6.3 + subversion 1.6.1

Fcntl example (detailed description of Embedded Linux Application Development)

In Linux, the functions used to implement File locks include lock and fcntl, where lock is used to apply a commit lock to the file, while fcntl can not only apply a mandatory lock, but also apply a commit lock. At the same time, fcntl can lock a

File Operations in Linux Kernel Mode

From http://z515256164.blog.163.com/blog/static/32443029201211362335184/ With the support of VFS, user-State processes can use read and write to read and write file systems of any type, but how can we operate files without such a system calling in

Linux unknown pipeline pipe

# Include # Include # Include # Include # Include # Include Int main (){Int pipe_fd [2]; // pipeline IDPid_t pid;Char r_buffer [100];Char * w_buffer;Int ret; Memset (r_buffer, 0, sizeof (r_buffer )); If (pipe (pipe_fd) {Printf ("pipe create error \

Simple process of Device Driver learning in Linux (continuous addition)

In order to learn the driver of character devices, we have to understand some related structures... So, open the kernel through Source Insight... I browsed important driver structures. * User-driver relationship: user space read, write, etc. --->

Linux uses ICMP protocol for simple Ping Network Monitoring

ICMP is an Internet Control Message Protocol. It is a sub-Protocol of the TCP/IP protocol family. It is used to transmit control messages between IP hosts and routers. A message control refers to a message of the network itself, such as network

Linux dns Server Configuration

Common commands and troubleshooting tools: View Processes Ps aux | grep named Start Service named start (centos) /Usr/local/bind/sbin/named-4 (redhat) Kill Killall named View port Netstat-ano | grep 53 Detection Nslookup Dig Dig-x Change

Daemon process template in linux

Usually some daemon services need to be written, so a simple script is written. A simple daemon process can be generated automatically using the template file, including the source file and makefile, and the script is started and stopped, you only

Total Pages: 5467 1 .... 2836 2837 2838 2839 2840 .... 5467 Go to: GO

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.