Skip to main content

Questions tagged [compiler]

1 vote
2 answers
119 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
4 votes
1 answer
139 views

I am curious how to bootstrap a C++ compiler from a C compiler on Linux (x86-64 if the architecture is relevant). It is okay if not every C compiler is supported. For example a solution that works for ...
Greg Nisbet's user avatar
  • 3,166
0 votes
1 answer
113 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
0 votes
0 answers
119 views

Hi everyone, I'm trying to compile a program using "arm-linux-gcc" with "libmodbus"; however it seems the compiler is not set up for libmodbus. What should I do to fix it?
Tráng Đặng Đình's user avatar
1 vote
1 answer
394 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
1 answer
285 views

Due to my laziness, I have downloaded precompiled binaries for GTK programmes (rather than compiling them which would have been a drag considering how time-wasting it is). EDIT:using sudo apt get, ...
haruhisuzumiya's user avatar
0 votes
0 answers
160 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
39 votes
3 answers
17k views

Say I have a C program main.c that statically links to libmine.a. Statically linking to a library causes library functions to be embedded into the main executable at compile time. If libmine.a were to ...
Izzo's user avatar
  • 1,023
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
0 votes
0 answers
208 views

I am compiling a vendor provided proprietary test code for their device driver on rhel8.4, kernel version 4.18.0-305.10.2.el8_4.x86_64. Both the driver and the corresponding test code had been ...
Vinod's user avatar
  • 167
1 vote
0 answers
321 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
0 votes
1 answer
120 views

As part of my current project, I am trying to compile some proprietary device drivers (originally compiled successfully for Redhat6 kernel version 2.6.32-504.el6.x86_64 using the vendor supplied ...
Vinod's user avatar
  • 167
1 vote
2 answers
186 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
0 votes
1 answer
405 views

When running an executable compiled with intel mpiicc, I get, after 30 minutes of running, the following errors : kernel:[29585.573874] [Hardware Error]: Corrected error, no action required. Message ...
youpilat13'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
  • 671

15 30 50 per page
1
2 3 4 5
7