Tags: struct user inux fine long linkage post nbsp cal1, add a system call, increase the total number of system calls +1diff in Kernel/include/uapi/asm-generic/unistd.h+ + #define __nr_mysyscall 285+ + SYSCALL (__nr_mysyscall, Sys_mysyscall)#undef __nr_syscalls--#define __nr_syscalls 285+ + #define __nr_syscalls 2862, statementdiff in Kernel/include/linux/syscalls.h+ + asmlinkage long sys_mysyscall (const char __USER * process)#endif3, realizediff in Kernel/kernel/sys.c+ + SYSCALL_DEFINE1 (mysys
[[emailprotected] ~]$ vim .bashrc## ~/.bashrc#alias ls=‘ls --color=auto‘alias ll=‘ls -la --color=auto‘# If not running interactively, don‘t do anything[[ $- != *i* ]] return#PS1=‘[\[emailprotected]\h \W]\$ ‘PS1=‘\[\033[1;32m\]\[emailprotected]\h \w $\[\033[0m\] ‘[[emailprotected] ~]$[[emailprotected] ~]$source .bashrc[emailprotected] ~ $The display effect is as follows[emailprotected] ~ $ vim terminal_color.sh #!/bin/bash## This file echoes a bunch of color codes to the # terminal to demons
Linux does not have so many good media player windows, and on the Linux system, the multimedia format is limited, the installation of the system by default does not include a decoder, you need to search the installation decoder itself to support a variety of multimedia playback, if necessary. What's worse, the software on the Linux system is not very friendly when it comes to Chinese coding, such as playlists and Chinese lyrics ..... Direct garbled problem. Although the use of easytag processing
: softdebug LLVM: supported, not enabled. GC: /opt/mono-2.11.4/bin/mcs--versionMono C # compiler version 2.11.4.0Check out the 2.10.8 of the Arch Linux comes with Mono:Mono--version Mono JIT Compiler version 2.10.8 (tarball Sat Oct 6 23:22:30 UTC) Copyright (C) 2002-2011 Novell, INC, Xamarin, in C and Contributors. Www.mono-project.comTLS: __THREADSIGSEGV: altstacknotifications:epollarchitecture: amd64dis
Reproduced from Cow blogOriginally felt that arch Linux with a domestic source is very strong, but to the school mobile cmcc-edu Super unstable, and the single-threaded speed of twenty or thirty k, helpless, open multi-threaded download. Under Ubuntu You can use Apt-fast to do acceleration, there are many ways to accelerate under arch, Because Arch's pacman.conf file provides the ability to directly invoke
Mode CENTOS7 upgrades a lot of new features, ArchLinux General kernel version, program version is relatively fresh, so ready to install the test.Virtual machine installation process:
1: Download Http://mirrors.163.com/archlinux/iso/2015.04.01/archlinux-2015.04.01-dual.iso
2:# Cfdisk #我分了两个区, a preparation swap[/dev/sda1], a root directory/[/dev/sda2].
3:# mount/dev/sda2/mnt #挂载分区, if there are other partitions, please refer to the Official document Mount
Tags: arch ssh Remote InstallationThe only reason to install remotely via SSH is that some commands are really annoying because of the manual input. With SSH connection, some commands can be copied and pasted directly, and the installation progress is much faster.First, download the Arch Linux installation image and use it to start the computer, go to the installation interface, do the following preparation
image you want to select, I am here to use the default, can be used in the domestic source relatively fast. 6. Start the installation systemInstall the base software group using Pacstrap. # PACSTRAP/MNT BaseYou can also use# pacstrap/mnt Base Base-devel #安装了基础的开发包7. Configuring the SystemGenerate the Fstab file with the following command (set UUID or label with-u or-l option): # genfstab-p/mnt >>/mnt/etc/fstab#cat/mnt/etc/fstab #查看系统的fstabSwitch the system to the latest system#
Tags: stop ice net using Picture CST system SRC appears
Open VMware Workstation error message: Could not open/dev/vmmon:no such device. Sure the kernel module ' Vmmon ' is loaded.
Workaround 1You can /etc/init.d/vmware start start the service by running it before you start VMwareWorkaround 2On Arch Linux, you can vmware-systemd-serverices add the Systemctl service by installing this Aur package.
Use systemctl enable vmware.servi
). I was compiling a reference to the original configuration of my machine made a little bit of change.
I use it under my terminal.
$ gcc-v
Some column information appears: Target:i686-linux-gnu configured with:. /src/configure-v--with-pkgversion= ' Ubuntu/linaro 4.4.4-14ubuntu5.1 '--with-bugurl=file:///usr/share/doc/gcc-4.4/ Readme. Bugs--enable-languages=c,c++,fortran,objc,obj-c++--prefix=/usr--program-su
kernel is related, and the solution found in Archwiki is to use an Intel X profile.Create a new file 20-intel.conf in the/etc/x11/xorg.conf.d/directory with the file contents1Section"Device"2Identifier"Intel Graphics"3Driver"Intel"4Option"Accelmethod" "SNA" //Specify the acceleration method, default to SNA, and other Uxa5Option "Tearfree" "true”//prevent tearing, only for the SNA Acceleration mode6Option "Swapbufferswait" "false”//Disable vertical sync (vsync), this option resolves my Firefox b
The U-disk is not recognized in archThe reason is that the VMware USB Arbitration Service services in Win7 are not started and are normally recognized after booting.
Mount USB Drive1. Create a USB directory#mkdir/mnt/udisk2. Mount the USB device (/DEV/SDBX) to the/mnt/udisk directory#mount-T Vfat/dev/sdax/mnt/udisk3. Access to Udisk can be used normally4. Uninstalling the USB flash drive#umount/mnt/udisk5. Delete the Udisk directory#rm-rf/mnt/udisk
To add a user to the Sudoer listUsi
Install Arch Official instructions to install FCITX, in the. XProfile set export Gtk_im_module=fcitx and other three sentences, in Firefox can not input Chinese.You can enter Chinese after changing the FCITX in three sentences such as export gtk_im_module=fcitx to Xim, but the input box cannot follow the cursor.Forget where to see said set/usr/lib/gtk-2.0/2.10.0/gtk.immodules, and then carefully read the next file, found inside there is "/usr/lib/gtk-
I was unable to enter Ubuntu from Grub, and then I went into win10 and erased the Ubuntu partition.Restart again, only into the Black grub interface, display grub>>Cannot even enter the WIN10. Enter WIN10 only by pressing F12 at boot time.Workaround:Https://askubuntu.com/questions/429610/uninstall-grub-and-use-windows-bootloaderUse Armadadrive's answer, then smooth into win10, and no grub boot interface.When installing the arch system, format the EFI
Less Optimization-> more optimization:
O0 --> O1 --> O2 --> O3
-O0 indicates no optimization,-O1 indicates the default value, and-O3 indicates the highest optimization level.
English explanation:
'-O'
'-O1'
Optimize. Optimizing compilation takes somewhat more time, and
Lot more memory for a large function.
With '-O', the compiler tries to reduce code size and execution
Time, without specify Ming any optimizations that take a great deal
Of compilation time.
'-O' turns on the following optimizatio
1. this document is applicable to the compilation and use of gcc-3.0 and gcc-3.0.x under SCO 5.0.6. the same method can also be used to compile gcc-2.95.x, gcc-3.2.x, gcc-3.3. this article takes the gcc-3.0 as an example to illust
Update Linux GCC to GCC 4.4.2
First need to prepare required materials: gcc4.4.2 version need to install gmp4.2.0 + and mpfr2.3.0 +, to the site of GMP (http://gmplib.org/fuse download gmp-4.3.1.tar.gz and MPRF sites (http://www.mpfr.org/fuse download mpfr-2.4.2.tar.gz)
1.Install GMP# Wget ftp://ftp.gmplib.org/pub/gmp-5.0.0/gmp-5.0.0.tar.bz2# Tar-zxvf gmp-4.3.2.tar.gz# Cd gmp-4.3.2#./Configure# Make# Make
Talk GCC together (second: GCC), talkgcc
Hello, everyone. The last time we introduced GCC briefly. Let's talk about how to use GCC later,
The words are right. Let's talk GCC together!
In the last session, we only talked about the GCC
1. Download the earlier version gcc3.4.6.
2. SuYum install compat-gcc-34 *
3.1 first download gcc-3.4.6.tar.bz2 file in the/tmp directory, and extract it, so under/tmp has a gcc-3.4.6 directory, it is the source directory of the gcc-3.4.63.2, create a gcc-3.4.6-bulid directo
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.