Skip to main content

Questions tagged [compiler]

Filter by
Sorted by
Tagged with
1 vote
2 answers
115 views

I’m an RSE working on a personal Linux machine and need to manage multiple compiler and MPI versions (e.g., GCC, Clang, Intel). I’m looking to use Lmod or Environment Modules to load and switch ...
Roberto_1986's user avatar
0 votes
1 answer
105 views

According to comments and accepted answers linked below, gcc and g++ are the same executable. Because they are the same, the value of argv[0] will determine behavior, whether the argument is "gcc&...
PhillNo's user avatar
1 vote
1 answer
391 views

I'm yak shaving: to compile gcc (especially with libgccjit for ultimately compiling emacs with native-comp) on openbsd 7.4. The reason behind is libgccjit isn't available via pkg_add. Thus I'm trying ...
Garid Z.'s user avatar
  • 552
0 votes
0 answers
158 views

Some tutorials for building linux from ground do in first step building the cross compiler toolchain. They do this by invoking so called bootstrapping technique. First they build cross-gcc statically, ...
ptiza_v_nebe's user avatar
3 votes
1 answer
8k views

I want to make use of a more recent GCC version. Therefore, I compiled GCC 10 and installed it into a non-standard directory /software/gcc10/. So far so good. However, I am faced with problems when I ...
Raven's user avatar
  • 843
1 vote
0 answers
318 views

I've recently begun encountering an issue when attempting to compile a moderately large software project where my entire computer freezes. I can't get to another tty, I can't move the mouse. After ...
LeqxLeqx's user avatar
1 vote
2 answers
185 views

cc is the POSIX name of the C compiler. Is there a general name of the C++ compiler (and linker). Notice that g++ also adds some libraries, that will not be included when using plain gcc or ld.
user877329's user avatar
23 votes
3 answers
6k views

After some googling, I found a way to compile BASH scripts to binary executables (using shc). I know that shell is an interpreted language, but what does this compiler do? Will it improve the ...
adazem009's user avatar
  • 661
0 votes
1 answer
608 views

I'm a former Java developer attempting to learn Kotlin. So far so good, but on attempting to install kotlin-native to compile to a platform other than the JVM: sudo snap install kotlin-native I get ...
Michael Macha's user avatar
0 votes
1 answer
355 views

I am a real begginer in Linux and don't know why, I can't install my USB WiFi card drivers, I always get errors. I searched all of the Internet and tried over 10 solutions but nothing worked for me. ...
Kamil's user avatar
  • 1
1 vote
0 answers
2k views

I coded a kernel module for my RaspberryPi. However, I need to cross-compile the module on my Ubuntu Development machine. I already downloaded the correct kernel-headers on my RaspberryPi and pushed ...
Mark3's user avatar
  • 11
2 votes
1 answer
5k views

I'm currently having some issues, trying to install the 7.3.1 gcc version. (I need this version for a specific gpu setup) I have added jonathonf's repository: add-apt repository ppa:jonathonf/gcc-...
user avatar
23 votes
2 answers
5k views

I purchased a Human Machine Interface (Exor Esmart04). Running on Linux 3.10.12, however this Linux is stripped down and does not have a C compiler. Another problem is the disk space: I've tried to ...
NielsStenden's user avatar
0 votes
1 answer
1k views

If I try to compile something generated by B::C, $ perl -MO=C,-omyTest.c -e'print "Hello World!";' -e syntax OK And then run `gcc myTest $ gcc ./myTest.c ./myTest.c:3:10: fatal error: EXTERN.h: No ...
Evan Carroll's user avatar
  • 35.2k
9 votes
2 answers
8k views

When I compile a C (no pluses) program using GCC, there are several levels of messages possible, like warning, error, and note. The note messages are useless and distracting. How do I make them go ...
Jennifer's user avatar
  • 289
-1 votes
2 answers
251 views

Background On page 5 of C++ Primer 5th edition, Exercise 1.1 asks this question: Review the documentation for you compiler and determine what file naming convention is uses. Compile and run the ...
isakbob's user avatar
  • 145
1 vote
0 answers
65 views

I am having the following issue when making HSAIL: [ 3%] Built target libhsail-includes [ 6%] Building CXX object libHSAIL/CMakeFiles/hsail.dir/HSAILScannerRules.cpp.o In file included from /home/...
jeferson lemos's user avatar
6 votes
1 answer
478 views

Early versions of Unix included Doug McIlroy's tool tmg ("transmogrifier"), an early compiler-compiler. TMG was implemented in Dennis Ritchie's assembly language as well as in TMGL itself (the ...
Andriy Makukha's user avatar
0 votes
0 answers
34 views

When I compile a simple C program for Linux, how does it automatically know where to find the standard C libraries when I run it? Take the simple Hello World program for example which uses printf to ...
Engineer999's user avatar
  • 1,233
0 votes
1 answer
292 views

According to man gcc, gcc supports the following languages, which you can choose from with the -x flag: c c-header cpp-output c++ c++-header c++-cpp-output objective-c objective-c-header ...
nschmeller's user avatar
0 votes
1 answer
1k views

Hello I have been trying to install pyenv on Manjaro Linux and got an error that openssl is not installed on the system.  I have now installed it. I understand that I am supposed to tell the compiler ...
Yay Yaye's user avatar
1 vote
0 answers
612 views

Some distributions come with package sets for different versions of GCC, which you can easily install in parallel; others do not. Specifically, in Devuan ASCII / Debian Stretch, there only seem to be ...
einpoklum's user avatar
  • 11.1k
0 votes
1 answer
1k views

How to install the compiler xlc++ on a AIX 4.3.3. server? Where can I get the sources and instructions to installation?
vs06's user avatar
  • 111
17 votes
2 answers
65k views

I need a program to compile python source code; as I found out at first I need to make a binary file from my python script. I've already checked a lot of links, but still I haven't found something ...
TrueBad0ur's user avatar
0 votes
1 answer
3k views

I am having a script named as test.sh, which I use to run as below, which works fine:- /root/test.sh Then i tried to compile this script using the shc compiler as below with Warning:- shc -v -r -T -...
jassi10781's user avatar