Questions tagged [compiler]

Questions related to compilers or tools offering compilation.

Programming, Tool: A program that converts another program from some source language (or programming language) to machine language (object code). Some compilers output assembly language which is then converted to machine language by a separate assembler.

A compiler is distinguished from an assembler by the fact that each input statement does not, in general, correspond to a single machine instruction or fixed sequence of instructions. A compiler may support such features as automatic allocation of variables, arbitrary arithmetic expressions, control structures such as FOR and WHILE loops, variable scope, input/ouput operations, higher-order functions and portability of source code.

142 questions
6
votes
1 answer

How to Install a C/C++ compiler in Ubuntu 14.04LTS?

Is there a need to install a C/C++ compiler in Ubuntu 14.04 LTS? Where to write the program? How to compile the same?
Pavan Aithal
  • 61
  • 1
  • 1
  • 2
1
vote
0 answers

error: C compiler cannot create executables when compiling CFOUR with Portland compiler

The command I am trying to run is FC=pgf90 CC=pgcc MPIFC=mpif90 ./configure --prefix=/data/share/cfour_mpi --enable-mpi=openmpi --with-mpirun="mpirun -np \$CFOUR_NUM_CORES" --with-exenodes="mpirun -np \$CFOUR_NUM_CORES" And the error I receive is…
0
votes
0 answers

How install fpc-stl in freepascal on ubuntu

Please help me install fpc-stl (freepascal) on ubuntu. [Standard Template Library (FCL-STL)] Thanks a lot.
johnU
  • 21
0
votes
1 answer

How to compile quickly without continously having to type

How to compile quickly without continously having to type the whole story of -wall -werror and all those other flags. I know how to use them, but it is a little bit of annoying if I have to type it again and again. Maybe this is asked before, but I…
0
votes
1 answer

ifort and icc installation on ubuntu14.04

I want to install Intel fortran compiler(ifort) and icc on my laptop with ubuntu14.04 OS. I have read from several sources that it is free for Linux distributions but when I want to get it from official the Intel website, it only shows a trial…
0
votes
1 answer

error when compile android kernel

i try to compiler android kernel source code for samsung note 2 my host is ubuntu 13.04 and i use toolchains 4.8 i choice a defconfig from arch/arm/configs when i compile the kernel using make -j4 ARCH=arm…
0
votes
2 answers

how to install g77 on ubuntu 12.04

I want a workin g77 compiler on my Ubuntu 12.04 64 bit laptop. so did the following: I change the sources.list by adding the following lines: deb http...hu.archive.ubuntu.com/ubuntu/ hardy universe deb-src ..//hu.archive.ubuntu.com/ubuntu/…
0
votes
0 answers

Is it possible to complie non-ansi C code on Ubuntu 22.04.4?

I have an old piece of non-ANSI C code I wrote years ago that complied well on System 5 Unix running on a AT&T 3B2 micro computer. After I left engineering to go into medicine my C coding experience has rusted but not my love for Unix and now Linux.…
0
votes
1 answer

cpp error: missing file

I have tried to compile a simple hello-world program hello.cpp and got the following message: cpp: error trying to exec 'cc1plus': execvp: No such file or directory seems like missing file from where do I download this file and where to I put it…
0
votes
0 answers

Is there a BASIC compiler for Ubuntu which will run a program written in 1984 for the TRS-80 computer?

I'm copying a BASIC program from a book written in 1984 and want a compiler to run it on in Ubuntu. I'm not a coder so I don't have the skills to modify the code to a different version of BASIC than the version used in the book.
Allan
  • 593
0
votes
2 answers

How do I install the Scout-app?

I've downloaded Scout-app. But I can't get it to work. The file Scout-app has the correct permission, and is executable. How do I get it to work?
Jos
  • 596
0
votes
0 answers

Netcdf undefined reference error

I am currently trying to compile wrf-hydro on ubuntu and in the process multiple error messages related to netcdf are generated. Here is an example of them. I am also attaching the nc-config and nf-config file. If any additional information is…