Played three years of Linux, the most commonly used vim compiler some of the use of skills to organize the next share to everyone.The text editor under Linux vi=visual:Vim (vi improved) literally means an upgraded version of VI.The VI Modular compiler is divided into three modes:Input modeCommand mode (edit mode)Last-l
First, what is VIM/VI?Vim/vi is a powerful full-screen text compiler that is the most commonly used text compiler on Linux platforms,Used to create, edit, and display text files (the programming platform under the Linux platform) is mainly used for the writing of some script programsNote: There are no menus, only comma
, Sparc32, SPARC64, PPC64–without-pcre Disabling the Pcre library–with-pcre Enabling the Pcre library–with-pcre= point to Pcre library file directory–with-pcre-opt= setting additional parameters for the Pcre library at compile time–with-md5= points to the MD5 library file directory (message digest algorithm version fifth, which provides integrity protection for messages)–with-md5-opt= setting additional parameters for the MD5 library at compile time–with-md5-asm using MD5 assembler source–with-s
GCC is a very important compilation tool for development in a Linux environment, so it is necessary to learn the basic common usage of GCC. First, let's start by explaining the suffix name type of the source file under GCC compilation.. c is a suffix file, C language source code file;. A is a suffix file, which is the archive file consisting of the target file;. c,.cc or. cxx as the suffix of the file, is a C + + source code file;. h is a suffix file
script I wrote directly:gcc-install.sh script on GitHubIf the script download gcc-5.1.0 is slow (by the wall), then you can download the gcc-5.1.0.tar.gz to script the same level directory, then execute the scriptLet's take a look at the dependency library if it's too new:The following is an incorrect installation method: —————————————-Download m4-1.4.17.tar.gz,gmp-5.1.3.tar.gz mpfr-3.1.2.tar.gz mpc-1.0.3.tar.gz FirstUnzip all to the/root directory and then:Installation M4: ——————————-cd m4-1.4
Tlist_exist_onlywindow = 1 "Kill buffer if only one buffer,kill window is killedLet Tlist_file_fold_auto_close = 0 "Do not close other files of tagsLet Tlist_enable_fold_column = 0 "Do not show collapsed treeAutocmd FileType Java Set tags+=d:\tools\java\tags"Autocmd FileType h,cpp,cc,c set Tags+=d:\tools\cpp\tags"Let tlist_show_one_file=1" does not display the tag of multiple files at the same time, only displays the current file'sThe Set tagsSet Tags=tagsThe Set Autochdir""""""""""""""""""""""
)-s signal sends a signal to the master process, signal can be: Stop, Quit,reopen, reloadExample:Nginx650) this.width=650; "src=" Https://s4.51cto.com/oss/201710/29/e051ef433b2c3861abe5f31aedc32aca.png "title=" 1.png " alt= "E051ef433b2c3861abe5f31aedc32aca.png"/>Nginx-s Stop StopNginx-s Reload Reload configuration fileNGINX-G directives indicates the global directive on the command line650) this.width=650; "src=" Https://s3.51cto.com/oss/201710/29/d24f1ef0b3fc7707a53d36fde9bdde26.png "title=" 2
Command Execution result:: R! CommandFor example:: R file Name: R/etc/issue imports content from/etc/issue to the cursor location.:! Which command view command path: R! Date imports the current time at the cursor locationdefine shortcut keys:map Shortcut Trigger commandFor example:define a shortcut key comment line: Map ^p (ctrl + V + P) i#Delete a comment: Map ^b 0xContinuous Line comments:: Set Nu: n1,n2s/^/#/g (^ Indicates the beginning of the line)Delete a comment: n1,n2s/#//g (delete all l
First create a temp directory: [email protected]:/home/work/tools$ mkdir tmpUnzip to root directory: [email protected]:/home/work/tools$ sudo tar xjf arm-linux-gcc-4.3.2.tar.bz2-c/(cross-compilation tool must be extracted to the root directory, otherwise there will be compile error, such as )View environment variables: [email protected]:/work/tools$ echo $PATHSetting Environment variables: vi/etc/profileAdd it on the inside:Export Path=/usr/local/sbin
library files and header files are placed in this folder, and you can change the path according to your own situation.②. You need to select With_gtk_2_x.③. When you want to get a dynamic library, check build_shared_libs:When you want to get a static library, cancel Build_shared_libs:(5) Click Configure again, and then click Generate.7. Compiling and installingClose Cmake-gui, go to the Build folder: CD build, then do make, probably wait 30 minutes after the compilation is complete, then do inst
/pcre-8.38--with-zlib =/tmp/zlib-1.2.8--with-openssl=/tmp/openssl-1.0.2hCompile Complete:Then perform the Make installationMakeExecution Complete:Execute make Install Make InstallVerify Nginx:/comexhome/nginx/sbin/nginx-vStart Nginx to verify that you can accessThen access this server's IP or host name, the following page appears to indicate that the installation was successfulWelcome to the next article:"Linux (CentOS6.5) Nginx Registration system se
://llvm.org/apt/precise/llvm-toolchain-precise-3.5 Main # Common Deb http://ppa.launchpad.net/ Ubuntu-toolchain-r/test/ubuntu Precise main Deb Http://llvm.org/apt/trusty/llvm-toolchain-trusty MainDEB-SRC Http://llvm.org/apt/trusty/llvm-toolchain-trusty Main# 3.4Deb http://llvm.org/apt/trusty/llvm-toolchain-trusty-3.4 MainDEB-SRC http://llvm.org/apt/trusty/llvm-toolchain-trusty-3.4 Main# 3.5Deb http://llvm.org/apt/trusty/llvm-toolchain-trusty-3.5 MainDEB-SRC http://llvm.org/apt/trusty/llvm-tool
Linux under the compiler installation Nginx, from the Nginx official website Download Nginx original code, extract to a directory, execute the following command#./configure--prefix=/usr/local/nginxConfigure Nginx build directory, nginx shell script will be stored in /user/local/nginx/sbin directory, configuration file will be stored in /user/local/nginx/conf directoryNginx supports the regular matching path
1, ready to install the file, should be the same as the program version of the production algorithm package, this article put it under the TMP folder. 2. Enter directory: cd/tmp3. Unzip: Unzip mcr_r2012a_glnx32_installer.zip-d Mcr_r2012a_glnx32_installer4. go to sub-directory: CD Mcr_r2012a_glnx32_installer5. Installation: ./install-mode Silent-agreetolicense Yes6. when the following word appears, it indicates MCR the installation was successful:Exitingwith Status 0End–successful.Finished7. Co
Sony announced that the PlayStation Vue will start landing next week on Android devices, the PlayStation Vue was launched in March 2015 and is Sony's cloud-based DVR live TV service, Android users will then be able to access on-demand content via a smartphone or tablet, watch a TV show online (the base package includes the 55+ channel), and the My shows feature, and the app also supports Chromecast or any Google cast device.In March, Sony reduced its existing three packages to $10, Access is pai
Nginx's official website is www.nginx.org Nginx is: http://nginx.org/en/download.html because the design of the official website is very concise and not very air, so we can easily find what we need. Open page found there are three versions, respectively mainline version (development), Stable version (stable version), legact version (historical stable version).Here we download the latest stable version of nginx-1.6.2. Before installing Nginx, we need to make sure that the Gcc,openssl-devel,pcre-d
://llvm.org/apt/trusty/llvm-toolchain-trusty MainDEB-SRC Http://llvm.org/apt/trusty/llvm-toolchain-trusty Main# 3.4Deb http://llvm.org/apt/trusty/llvm-toolchain-trusty-3.4 MainDEB-SRC http://llvm.org/apt/trusty/llvm-toolchain-trusty-3.4 Main# 3.5Deb http://llvm.org/apt/trusty/llvm-toolchain-trusty-3.5 MainDEB-SRC http://llvm.org/apt/trusty/llvm-toolchain-trusty-3.5 MainThe second step, must obtain the related certificate before the installationWget-o-Http://llvm.org/apt/llvm-snapshot.gpg.key|sud
Recently, when installing the new version of Clang (Clang 3.4/3.5) to the compilation environment CentOS 6.5, although the GCC 4.9.1 was installed, it was compiled (refer to the Clang official homepage http://clang.llvm.org/get_ Started.html steps, running the clang configure script in the standalone build directory, still gives the "C compiler cannot create executables" prompt to view log information, There are several errors found inside:
Clang:/lib
First, download Libcurl http://curl.haxx.se/download/curl-7.21.1.tar.gz II, installation specified installation directory/usr/local/curl Note: It is best to use the default path command 1:./confi Gure--prefix=/usr/local/curl This is the command:./configure this way, use directly when compiling the program
gcc-o Filename-wall Filename.c-lcurl There will be no compile-link errors, and if your path changes, it may be cumbersome to compile the program. Results: curl version: 7.21.1 host setup: NB
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.