Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [compiler]

Questions related to compilers or tools offering compilation.

0
votes
0answers
7 views

Installing Intel Parallel Studio XE

I like to install the Intel compilers and wonder what ./install_GUI.sh [--duplicate=silent_prog.cfg] does when installing it and if I could this also later after installing just with ./...
0
votes
1answer
198 views

how to do I install cuda on 18.10,

I have a lenovo T540p thinkpad, with an NVIDIA GK208M [GeForce GT 730M], I tried to install cuda tool-kit version 10, but the install script says I have the wrong compiler. It doesnt specify the ...
0
votes
0answers
15 views

ubuntu atom compilation probllem getch() main':<br/>trial.cpp:(.text+0x9b): undefined reference to stdscr'

I already have ncurses properly installed but atom still won't compile. I have this error message: "/tmp/ccEtNmpt.o: In function main':<br/>trial.cpp:(.text+0x9b): undefined reference tostdscr' ...
0
votes
1answer
744 views

How to install GCC6.3.x & G++6.3.x on Ubuntu 16.04

I want to install GCC and G++ 6.3 version. As MATLAB only support this compiler. On launchpad it is not available. I could not find any link which could describe way to install. I could install 6.5 ...
0
votes
0answers
33 views

Codeblocks/XTerm permission denied error on compilation

I just installed Codeblocks in my Ubuntu system, wrote a simple program, and after pressing the key combination Ctrl + F9 to compile this, I got the message Permission denied. Return to the homepage. ...
0
votes
0answers
66 views

How to install ompi simultaneously with mpich?

I have mpich installed as the default MPI library. It is a part of my main project. Now I'd like to test some program that demands open-mpi be installed for compilation. I may not change something in ...
0
votes
1answer
22 views

Find latest modified *.c file and compile it within terminal with pipelining?

Lately I have coded a little bit more with the terminal in Linux to get a deeper understanding of programming. Right now I am trying to automatize the compiling process with the following command: ...
-2
votes
1answer
176 views

PROBLEM WITH COMPILER C/ PLEASE HELP ME [closed]

My first language is Spanish, and my use of English is not the best, but I need some assistance in debugging the following program code since it produces an error when compiled. CODE: #include "...
0
votes
0answers
256 views

Installation of c compiler on Ubuntu Linux [duplicate]

How do I install GCC 8 on Ubuntu LTS 16.04.3?
1
vote
0answers
203 views

Error: Dependency “python3” not found

I am somewhat new to Linux and have installed Ubuntu 18.04 LTS two weeks ago. I was following a process today which had me download Meson and Ninja to compile something. I'd run the compiler, it ...
0
votes
0answers
46 views

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-...
0
votes
0answers
100 views

Editor and compiler for C#

I am currently learning C# and I need a text editor which can run/execute the code with just one click and take inputs and give output of simple code which I practice as I learn. I have seen ...
0
votes
2answers
47 views

Software compiled from source does not work after first run

Hi I am trying to use a piece of Japanese NLP software called MeCab, written in Python and distributed with only source. ( http://taku910.github.io/mecab/ ) It has been giving me trouble since the ...
7
votes
1answer
5k views

What are the GCC and clang versions available in Ubuntu 18.04? [duplicate]

In the new Ubuntu 18.04: What's the default GCC version (with which the binaries were built)? What GCC versions are available as separate packages (and what minor version is installed if I install ...
0
votes
1answer
26 views

cpp version “end of search list”

When i checked the cpp version it showed me this message: cpp -v Using built-in specs. COLLECT_GCC=cpp OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured ...
0
votes
1answer
93 views

How to install `sprof` in Ubuntu 14.04

I have a clean Docker ubuntu:14.04 container. sprof is not installed in the base image. How do you install it? I assumed it would be part of binutils along with gprof, but it's not there. Does anyone ...
0
votes
1answer
575 views

Installing GCC from source without apt

I have a fresh install of Ubuntu Server 16.04 which is having issues with the Ethernet NIC. I think I've got it almost figured out, but I need to recompile the kernel, which is a problem because I don'...
0
votes
1answer
229 views

directories of Freetype are not creating saying C compiler is not available

FreeType build system -- automatic system detection The following settings are used: platform unix compiler cc configuration directory ./builds/unix ...
0
votes
1answer
465 views

Install older version of gfortran in ubuntu 16.04

I want to install 4.8.4 gfortran compiler in my Ubuntu 16.04. I tried this sudo apt-get install gfortran-4.8.4 but it returns unable to locate package
1
vote
0answers
47 views

How to compile Gnucap?

I installed GCompris today on my Lubuntu 16.04.3 LTS PC for my little brother. He wants to test out the electric circuit game, but it requires gnucap to be installed. So, I found the source code of ...
0
votes
1answer
112 views

How to execute cabal?

I installed stack via binary package on stack's site. Now I want to use cabal to install packages. cabal install something but it outputs: cabal: The program 'ghc' version >=6.4 is required but ...
1
vote
0answers
411 views

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 -...
1
vote
1answer
5k views

How can I install Dev C++ in Ubuntu 16.04

I want to use Dev C++ in Ubuntu. Is it available in Ubuntu? If yes, please tell me how I can install it with terminal (by command-line)?
1
vote
1answer
2k views

g++ cant find cstdlib (fatal error: cstdlib: No such file or directory) [closed]

Im trying to compile the very simple c++ Program //Programm, um Celcius in Fahrenheit umzurechnen // F=C*(212-32)/100+32 #include <cstdio> #include <csdtlib> #include <iostream> ...
0
votes
0answers
119 views

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.
1
vote
1answer
1k views

Install older version of gfortran

I am using Ubuntu 16.04.2 LTS and want to install gfortran version 5.3. When I use either of the inputs below gfortran 5.4 is installed, which is not compatible with the program I am trying to run. ...
0
votes
2answers
419 views

Runing a java program, Oracle JDK installed [closed]

I recently install Oracle JDK, set Environment variables. Everything works fine. java -version on terminal java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java ...
0
votes
2answers
2k views

Shell (.sh) Compiler [closed]

How can I compile a shell(.sh) file? (S.H.C 3.8.9), I am working only on the same server and not on other servers.
4
votes
2answers
14k views

Installing an older gcc version(3.4.3) on Ubuntu 14.04 (currently 4.8 installed)

I have gcc 4.8 installed but I also need to install gcc 3.4.3. I have followed these steps: Downloaded gcc 3.4.3 from gcc.parentingamerica.com/releases. Extracted the tar. ./configure make ...
0
votes
1answer
278 views

Compiler Problem

I have no clue anymore and I have to ask some clever people now, since I just recently started working with Ubuntu. Soo here is the Problem: I got Ubuntu 16.04 on a Virtual computer via VirtualBox (...
0
votes
0answers
529 views

gfortran make error: “- recompile with -fPIC”

I am encountering an error when compiling a fortran program: since I have a makefile provided, I open the working directory in the terminal and type make. Unfortunately I get this error: relocation ...
0
votes
0answers
445 views

JD-GUI and Boomerang Deompilers Installation for Ubuntu

I am currently taking a Cyber Security Course online and the instructor uses both, JD-GUI and Boomerang Decompilers. Therefore, I would like to get help on how to install those for Ubuntu. I have ...
1
vote
2answers
232 views

How to get a working gcc 4.9 on an ARM system

I have an ARM system with ubuntu 14.0.4 and I need a working gcc 4.8 on it. I was sad to learn that according to http://ports.ubuntu.com/ubuntu-ports/dists/trusty/main/binary-armhf/Packages.gz the is ...
7
votes
2answers
10k views

How to compiler OpenMP program using clang?

My gcc compiles well, but clang fails with the following message: clang -fopenmp=libomp -o main main.c main.c:5:10: fatal error: 'omp.h' file not found I also installed libomp5 package and changed ...
1
vote
0answers
99 views

Compling tesseract 4 gives fatal error in ubuntu 16 64 bit

I installed leptonica 1.74 successfully from source. After that, I am trying to compile tesseract 4 from source (tar) on my ubuntu 16.04 64 bit machine. But I m not able to move forward bcz of this ...
1
vote
1answer
10k views

How can I use Fortran compiler? [closed]

I'm new to Ubuntu and don't know anything about using the command line.
9
votes
2answers
25k views

Update GCC to the 6.3 version [closed]

I want to use some C++ features only available in more recent versions of the language. The problem is Ubuntu 15.04 (Vivid Vervet) has 4.9.2 installed and looking at the output I get from apt-get ...
1
vote
0answers
37 views

ubuntu apertium package bug

I installed virtualbox 5.1.9 and kernel 4.4.0-21-generic/Ubuntu 16.04 then apertium-vdi Installation went well but apertium-preprocess-transfer is giving me an error: symbol lookup error: apertium-...
0
votes
3answers
582 views

Visual Studio Replacement for C#?

Currently studying a Computer Science Degree, in Programming we are using C# in Visual Studio. So need a replacement that can run work already started in Visual. Thanks in advance.
0
votes
0answers
5k views

failed to resolve /libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)

Here is one question that encountered during the make process of gcc4.6.2 as I tried to type the make -j16 , there showed the following error messages: I tried to search the web site by google ...
0
votes
1answer
726 views

How to install both gcc-4.7-plugin-dev and gcc-4.8-plugin-dev on Ubuntu 16.04 without conflicts?

I have just installed Ubuntu 16.04 Xenial on the laptop I use for development. I am currently working on a plugin for gcc and I want my plugin to be compatible with several different versions of the ...
2
votes
1answer
858 views

Making a snap to run on Ubuntu Touch

I am looking to investigate the process of creating snap packages as detailed here - but before I do - would it be possible to compile a programme - specifically FoxtrotGPS - to run on Ubuntu touch? I ...
1
vote
0answers
294 views

Banshee Compiling on Ubuntu 16.04 fails

At the moment, I am trying to compile banshee from git: http://banshee.fm/download/development/, but it fails. I am doing this because I plan to fix something in the Banshee's source code. Here is ...
0
votes
1answer
387 views

I want to compile C file

I want to compile c file. I use g++ <filename> -o <output-filename> Error: ch34x.c:13:24: fatal error: linux/init.h: Directory or file doesnt exist. (here is hash I cant type here)include ...
0
votes
2answers
292 views

Compatible compilers for Matlab R2015a

I was trying to install Matlab R2015a, and everything was running perfectly till this message appeared and left me puzzled because as you can see, I already have installed all the compilers needed to ...
5
votes
1answer
60k views

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

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?
1
vote
0answers
84 views

Web IDE that has a Linux compiler?

Is there a web IDE that has a Linux compiler (virtual Linux compiler) with Python support? I've created a Python application that uses GTK and Linux modules such as os.system and gtk. I need to ...
0
votes
1answer
615 views

Writing a shell program in Unix to compile and run a COBOL file using the Open-Cobol a.k.a GnuCOBOL compiler

The two lines below are what I have for my UNIX shell. cobc -free -x -o$(basename "$1" .exe) "$1" ./$(basename "$1" .exe) When I type: ./myshell file.cob ...the program runs fine. But the ...
8
votes
3answers
12k views

How do i install less css compiler?

I just installed less css compiler using npm. Now thelesscfile directory is /usr/local/bin/lessc . i'm not clear what i need to change in lessc file and how to understand that compiler has been ...
1
vote
1answer
528 views

Removing changes made to geany

Actually I am a newbie here and I installed geany IDE and made some changes to it like hiding the menu (using the full view ). Now I want to undo those changes but don't know how to do it. Can someone ...