Questions tagged [compiler]

Questions related to compilers or tools offering compilation.

Filter by
Sorted by
Tagged with
0
votes
0answers
69 views

Where to get Mingw-w64 ver. 8 for Ubuntu 20.10?

I have Ubuntu 20.10. I would like to compile dxvk. It requires Mingw-w64 >= 8.0. The mingw-w64 website suggests to download from Ubuntu repositories. The version in the repository is 7.0.0 for ...
0
votes
0answers
30 views

Unable to install Intel compiler

Cannot install Intel(R) Cluster Toolkit Compiler Edition for Linux* OS version 3.2.2p-013 to "/home/intel/ictce/3.2.2.013": This prefix directory path '/home/intel/ictce/3.2.2.013' is owned ...
0
votes
0answers
95 views

What are the simplest set of steps I can use to build the Linux kernel with LTO and/or PGO?

I've been looking for a simple guide how to do this, and it's been around for so long that it seems to me like something should exist that explains how to build the Linux kernel in Ubuntu with LTO + ...
0
votes
1answer
39 views

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

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

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

Error installing libgfortran3 on Ubuntu 20.04

I'm working on a project where I have to compile the code from another author. He uses very old packages so I'm traying to recreate the enviroment on conda, but I cannot find any good repo for Ubuntu ...
1
vote
0answers
33 views

GCC C code compiling

I have a problem regarding gcc. Although I have a background programming in C, I have never actually used gcc. Until now that is. I have a Go program I am creating, that uses a library (Fyne) that in ...
3
votes
2answers
1k views

How do I install gcc 4.8 in Ubuntu 18.04?

I am currently using Ubuntu 18.04, and I need gcc 4.8 for MATLAB. So I tried to install gcc-4.8 using $ sudo apt-get install gcc-4.8 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/...
0
votes
0answers
29 views

Fortran Compiler, X64 Linux

I want to install a fortran compiler on Kubutu for X64 Linux. Is seems to be more complicated than simply downloading an executable binary and library files. Is there a simple way?
1
vote
1answer
1k views

How to install gcov that is compatible with gcc version 10.1?

I'm trying to use CLions interface to gcov but I'm not using the default g++ compiler (for Ubuntu 18.04). Therefore my version of gcov (7.5) is incompatible with my compiler (10.1). How can I install ...
1
vote
1answer
127 views

Which compiler should I use for installing CUDA 8?

Which compiler should I use for installing CUDA 8? Is there an official page that associates the CUDA versions to the compiler to use?
0
votes
2answers
191 views

Trying to compile java file without success on Ubuntu (CVE-2020-2555.java) [closed]

I am trying to compile the following file https://github.com/wsfengfan/CVE-2020-2555/blob/master/supeream/CVE_2020_2555.java in my Ubuntu server but without success. I tried 'javac CVE_2020_2555.java' ...
0
votes
1answer
149 views

Problem in installing library from github

Generally, while installing libraries like lapack, blas, I just run the makefile and then they get automatically installed. To link them with my gfortran compiler, gfortran -llapack or gfortran -lblas ...
0
votes
1answer
565 views

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?
0
votes
1answer
210 views

Adding OpenMP support to compiler command line

When I am giving this command make -j4 I am getting this mlpack was compiled with OpenMP support, but you are compiling without OpenMP support. This will almost certainly cause irreparable disaster....
0
votes
1answer
1k views

Intel Fortran compiler

I want to install a second compiler for fortran in my Ubuntu 18.04 LTS distribution, but I do not have any idea. Currently I have gfortran compiler. What is the best way to install an Intel Fortran ...
1
vote
0answers
28 views

how to get start with C, C++ coding in unix, and what is the basic packeges needed to install at first? [duplicate]

I am a beginner to use linux os. What is the basic packges needed to install to compile a C,C++ code in terminal box ? and, please give the command to install it . :(
0
votes
0answers
438 views

How to verify C11 compiler support

64-bit Ubuntu 19.10.1 is installed on a rPi3. A C11 compiler is required per compiling instructions. What command line test can be performed to verify the compiler supports C11 standards? I am not ...
1
vote
0answers
343 views

(environment-modules) Setting up modulefile for Intel compilers

I am trying to install openmpi (not from apt) into my system. I want to use intel compilers (fortran, c and c++) for the compilation. When ./configure my openmpi folder, without module load intel, ...
9
votes
2answers
16k views

How to set Clang 9 as the default C++ compiler on Ubuntu 19.10?

how do I set Clang 9 as the default C++ compiler on Ubuntu 19.10? I searched the internet, but nothing helped. Thank you for answer :)
2
votes
0answers
94 views

Install gcc9 without sudo permissions

Is it possible to install gcc9 somehow without sudo permissions? Building it from source did not work because of missing libraries and I can not find precompiled binaries for gcc9. I have gcc7 ...
0
votes
1answer
431 views

Unable to use java compiler even after installing

I wanted to use the JDK version 8.0 for NetBeans, so I uninstalled my latest version of JDK 11.0 by using these commands: sudo update-alternatives --remove-all java sudo update-alternatives --remove-...
0
votes
0answers
358 views

installing c compiler on an offline machine

i am new to ubuntu. i have been programming physics and rendering logic for pc games in c, c++ and opengl on windows os for years. i cannot use windows any longer and i am trying linux out. i want to ...
0
votes
1answer
665 views

How can I compile full project C language [closed]

I am currently using ubuntu 18.10 and i want to compile the source of this project but i dont know how The author says I should use Microsoft Visual Studio, Is there any way to compile these files in ...
1
vote
0answers
154 views

Freezes in large compiles and archive extractions (18.04)

My Thinkpad T440p freezes and Ubuntu 18.04 LTS stops when I compile large projects in IDEA. Unzipping the archive of a new version also results in the system getting stuck after some time. This ...
1
vote
1answer
896 views

How can I install mpich for a newer gcc compiler?

I have a small server with Ubuntu Server 18.04. I have the GCC and MPICH compilers installed on this machine: gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-...
1
vote
0answers
107 views

Problem In Installing Ubuntu GCC [duplicate]

I have installed Ubuntu as a guest OS on Windows. Well I am getting this error when I try to install GCC:
0
votes
1answer
520 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 ...
1
vote
2answers
13k 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
1answer
33 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
2k 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
665 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
305 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-...
1
vote
2answers
74 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 ...
13
votes
1answer
16k 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
68 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
172 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 ...
1
vote
1answer
2k 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
697 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
1k 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
69 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
486 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
615 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
9k 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)?
2
votes
1answer
4k 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
173 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
5k 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
570 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
3k 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.
9
votes
2answers
45k 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 ...