Skip to main content

Questions tagged [gcc]

Questions regarding GNU Compiler Collection Suite.

3 votes
0 answers
60 views

I want to show how does it work under X11 with Xshm etc = OK fine if you resize window without flickering problem. Example: Code main.c ( X11 version ) #include <X11/Xlib.h> #include <X11/...
Jens Eckervogt's user avatar
4 votes
2 answers
853 views

How can I take snippets from the Linux kernel drivers' code, for example this drm_fb_helper_hotplug_event function inside drivers/gpu/drm/drm_fb_helper.c, and compile a binary file that I can run to ...
feearent's user avatar
0 votes
0 answers
114 views

After having deactivated ASLR, with: echo 0 | sudo tee /proc/sys/kernel/randomize_va_space I used ldd /path/to/binary to get the address of the shared library that my binary (written in C) was using, ...
rustymanito's user avatar
0 votes
2 answers
150 views

Reference: Weak symbol In the link the following linker option is mentioned: cc main.o -L`pwd` -Wl,-R`pwd` -lpowerslow -o main2 The purpose of all of the above flags have been documented in the GCC ...
Vinod's user avatar
  • 167
1 vote
0 answers
84 views

I am working on an embedded Linux system (kernel-5.10), and the cross GCC only supports -fsanitize=address for address sanitizer. Then I built a testing program with -fsanitize=address and -lasan. ...
wangt13's user avatar
  • 651
0 votes
0 answers
44 views

I am trying to use the cm3-unix64le-d5.11.1-20210610 from the Modula 3 github. i am running the .cpp file and I get a virtual memory exhausted: Not enough space error. I have 16GB of RAM and I'm ...
alex miranda's user avatar
0 votes
1 answer
105 views

There's a handful of programs like GCC that not only require two different passes when setting up LFS, but as is the case with GCC, it is also used for Libstdc++. When going thru this setting up for ...
watchy's user avatar
  • 71
0 votes
0 answers
159 views

I did a system upgrade on manjaro using yay -Syu. It appears it upgraded gcc to some experimental version. I tried reinstalling gcc13 but it didn't fix the problem: export LDFLAGS="${LDFLAGS/-...
Ben's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
51