terminating "Character/Home/tekkaman/working/crosstool-0.43/build/arm-9tdmi-linux-gnu/gcc-4.1.1-glibc-2.3.2/build-glibc/CSU/version-info.h: 3: 1:Missing terminating "CharacterGoogle found that Ubuntu set the system's default shell to dash (the Debian almqualified shell), so the file format generated by the script is different from that generated by bash, resulting in compilation errors. In useUrsa.Sudo mV/bin/sh. OldSudo ln-SF bash/bin/sh
2) An error
Modifying the SH versionIf you run ls-la/bin/sh to see that the link is dash, run the following commandsudo dpkg-reconfigure DashSelect No to remove dash here error will occur at compile time if not changed2. Unzip the package and enter the directory to view the important script files.$CD Downloads $tar –zxvf crosstool-0.43.tar.gz$CD crosstool-0.43 You can see a lot of. SH scripts and. Dat profiles in this directory, each supported processor has its corresponding script. If the choice of demo-a
development of the project, GCC has become a compiler family capable of compiling C, C ++, Java, Ada, fortran, Object C, Object C ++, And Go languages.
Here is a brief introduction to how to compile a C program or C ++ program to eventually become an executable program.
Download the sample code.
------------------------------------------ Split line -------------
-Ldir ____ search for the header file pathDownload and compile the source code of the GCC compiler
Go to the GNU website (www.gnu.org) to find the source code of GCC.
Download the latest version of GCC 4.9.1 released, which has the svn check path. You can use svn to check
1 IntroductionThe meaning of GCC is only GNU C Compiler. After so many years of development, GCC has not only supported the C language; it now also supports the ADA, C + +, Java, Objective C, Pascal, COBOL, and Mercury languages that support functional programming and logical programming, and so on. And GCC is no longe
Cross Compiler build process preparation to download the source package: you can download the source package binutils-2.17.tar.gz ftp://ftp.gnu.org gcc-3.4.6.tar.gz glibc-2.3.6.tar.gz or to ftp://sourceware.org/pub/download. Put the source code package in the/home/zht/cross-
-e only for preprocessing
-S only for preprocessing and compiling
-C only preprocess, compile, and assemble
filename suffix Description :
. C C language Files
. I Pre-preprocessed C language files
. s pre-processing assembly files
. o the compiled target file
After the program compiles successfully, run the executable program through "./".Common compilations (or processes that are pre-processed, compiled, compiled, linked):
Linux compiler installation GCC-5.1.0Linux compiler installation GCC-5.1.0
Compiling C/C ++ programs in Linux naturally lacks an excellent compiler, and GCC is a common tool in Linux. In late April 2015,
is undefined Reference to ' __sync_sub_and_fetch_4 ' problem error, later found a solution on the foreign site, that is, to the high version of the GCC download a linux_ ATOMIC.C file, compile it into a static library link to your specific compiled project code to resolve this error. Because my embedded linux gcc cross-compi
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 met
Transferred from: http://www.cnblogs.com/qoakzmxncb/archive/2013/04/18/3029105.htmlIn Xcode, we often see these compilation options (such as), some may be a bit dazed, this article will be on the GCC4.2, LLVM GCC 4.2, LLVM Compliler 2.0 Three compile options for a detailed introduction.GccGCC (GNU Compiler Collection,gnu Compiler Set) is a set of programming lang
1.GCC IntroductionGCC (GNU Compiler Collection) is a powerful, performance-rich programming language compiler, one of the GNU program's representative works. GCC is the most commonly used compiler under the Linux platform, and GCC
interface like VC (the IDE that supports the MinGW compiler, such as Dev C + +, is also available on Windows). Source Editor You can choose whatever text editor you like (it is said that the developer of Microsoft includes VC not using the IDE editor with VC, but the GNU VIM editor). Then use tools such as make to compile, link, package, and even advertise the software project. And like the CVS (SVN) Source version number Control tool, people in any
Directory:
GCC rules
Start...
Pre-compile
Compile
Assembly
Connection
Two other important options
Debugging
Summary
Site Link
Summary:
To read this article, you need to have a basic understanding of the C language. This article will introduce how to use the GCC compiler. First, we will introduce how to use the c
These days I encountered a lot of problems in configuring the Linux kernel for cross-compiling the arm board, including the issue of the GCC version too high, so I intend to install the other old version to my Ubuntu16.04. The experiment is as follows:1 . First, check out the original GCC version of the current Ubuntu16.04 version:gcc-v #查看gcc的版本g+ v #查看g + + ver
After installing the system, you need to install the compiler (even a GCC installation experience)
The day before yesterday, we completed the installation of linux2005 ..
I had a linuxdown (resumable download tool) all over the world. In order to download files in Linux, I can't do
Compiler stack protection technology in GCC
Buffer overflow, represented by stack overflow, has become the most common security vulnerability. Security problems are common. As early as 1988, Morris, a graduate student in the Computer Science Department at Cornell University, used a Unix fingered program overflow vulnerability to write a malicious program and spread it to other machines, as a result, 6000 se
have an IDE interface like VC (the IDE that supports the MinGW compiler, such as Dev C + +, is also available on Windows). Source code editing You can choose any text editor you like (it is said that Microsoft developers, including VC development are not using the VC IDE Editor, but the GNU VIM editor). Then use tools such as make to compile, link, package, and even publish software projects. And like the CVS (SVN) Source version Control tool, people
interface like VC (the IDE that supports the MinGW compiler, such as Dev C + +, is also available on Windows). Source Editor You can choose whatever text editor you like (it is said that the developer of Microsoft includes VC not using the IDE editor with VC, but the GNU VIM editor). Then use tools such as make to compile, link, package, and even advertise the software project. And like the CVS (SVN) Source version number Control tool, people in any
interface like VC (the IDE that supports the MinGW compiler, such as Dev C + +, is also available on Windows). Source Editor You can choose whatever text editor you like (it is said that the developer of Microsoft includes VC not using the IDE editor with VC, but the GNU VIM editor). Then use tools such as make to compile, link, package, and even advertise the software project. And like the CVS (SVN) Source version number Control tool, people in any
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.