Install compiler(s) C and C and make etc. Sudo apt-get install build-essential Fortran. Sudo apt-get install gfortran g77 to edit source code. Use any texteditor. From the graphical user interface for example use kate. From the commandline use nano: nano main.cpp to compile. 13 Best IDEs for C and C Developers. April 11, 2019 20 Comments. Generic support for compilers and Errors are clickable via the Buildtab. Supports next generation debugger. It has an amazingly fast and powerful code completion tool based on its in-house parser.
By Jennifer J., Varsha J., published on August 26, 2014, updated September 11, 2017
This is a computer translation of the original content. It is provided for general information only and should not be relied upon as complete or accurate.
Sorry, we can't translate this content right now, please try again later.
C Standard Conformance
The Intel(R) C++ Compiler for Linux* or OS X* version 10.x or newer or Intel Parallel Composer 2011 conforms to the ANSI/ISO standard ISO/IEC 9899:1999 for C language.
The Intel(R) C++ Compiler for Linux* or OS X* version 10.x or newer or Intel Parallel Composer 2011 conforms to the ANSI/ISO standard ISO/IEC 9899:1999 for C language.
The Intel(R) C++ Compiler for Windows version 10.x or newer or Intel Parallel Composer 2011 conforms to the ANSI/ISO standard ISO/IEC 9899:1990 for C language by default, but comforms to ANSI/ISO standard ISO/IEC 9899:1999 under /Qstd=c99 switch.
Please see 'Language Conformance' section in the User's Guide for the list of C99 features supported by Intel C++ Compiler.
C++ Standard Conformance
The Intel® C++ Compiler 10.x or newer or Intel Parallel Composer 2011 conforms to the ANSI/ISO standard ISO/IEC 14882:1998 for C++ language, with the following exception:
The Intel® C++ Compiler 10.x or newer or Intel Parallel Composer 2011 conforms to the ANSI/ISO standard ISO/IEC 14882:1998 for C++ language, with the following exception:
The export keyword for templates is supported in Intel® C++ Compiler for Linux* 8.1 to 12.x with '-export' option. It is supported in the Intel® C++ Compiler for OS X* till 12.x with '-export' option. The support is deprecated in 13.0 and 14.0; it is removed in 15.0.
But the export keyword for templates is not supported in the Intel® C++ Compiler for Windows or the Intel Parallel Composer.
For more information on C/C++ conformance, refer to the User's Guide. For information about the ANSI/ISO C/C++ language standards, please visit http://www.ansi.org/.†
† This link will take you off of the Intel Web site. Intel does not control the content of the destination Web Site
OpenMP* conformance
- The Intel(R) C++ Compiler 18.0 supports more features in OpenMP* 4.0 and some OpenMP* TR4 Version 5.0 Preview 1. Please see Release Notes.
- The Intel(R) C++ Compiler 15.0 supports most features in OpenMP* 4.0 API specification. Please see Release Notes 'Updated Support for Upcoming OpenMP* features added in Intel® C++ Compiler 15.0' for detail information.
- The Intel(R) C++ Compiler 14.0 adds support for some OpenMP* 4.0 Public Review Release Candidate 2 specifications. See Release Notes's section 'Updated Support for Upcoming OpenMP* features added in Composer XE 2013 SP1' for detail information.
- The Intel(R) C++ Compiler 12.1 and 13.0 conform to the OpenMP* 3.1 standard.
- The Intel(R) C++ Compiler 11.x and 12.0 conform to the OpenMP* 3.0 standard.
- The Intel(R) C++ Compiler 10.x and 9.1 conform to the OpenMP* 2.5 standard.
References:
C99 Support in Intel(R) C++ Compiler
C++11 Features Supported by Intel(R) C++ Compiler
C++11 Features Supported by Intel(R) C++ Compiler
For more complete information about compiler optimizations, see our Optimization Notice.
This program is a compiler, intended to convertANSI C code to ARM assembly code, to be run on aRaspberry Pi. An overview of the control and parsingflow can be found in
Compilers Report.docx
. Thecore of the system is the grammar, found in Compiler.y
.Tokenization is performed in the manner outlined byCompiler.l
.Design System Information
This program was designed and written using avirtual machine using VirtualBox, hosted byMacOS 10.9 and running Ubuntu v.12.04 LTS 32 bit.
bisonc++
version :V2.09.03
flex++
version :2.5.35
gcc
version :4.6.3
Files
Compiler.cpp
Compiler.l
Compiler.y
Parser.h
stackType.h
Util.h
PreProcessor.cpp
Makefile
README
Compilers Report.docx
Compilation Instructions
To compile the preprocessor:
g++ PreProcessor.cpp -o PreProcessor -L/usr/lib/ -lboost_regex-mt
To compile the compiler:
make
Execution Instructions
1) The easy way:
A bash script is included in this folder, called
run
.It will output to a file called ASMOUT.s
, and takesone argument - the file to be compiled.To use:./run <filename>
2) Manual running:
The compiler by default will output code to the terminal.An input file must be run through the preprocessor first:
./PreProcessor <filename> > preprocessed.txt
The file
preprocessed.txt
must then be catted into thecompiler itself. The compiler will output code to the terminalby default, so the output may be redirected into a file.For terminal output:
cat 'preprocessed.txt' | ./Compiler
For file output:
cat 'preprocessed.txt' | ./Compiler > output.s