python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to use -fPIC and -fPIE GCC options correctly
I have a directory structure like this
dir1
one.c
two.c
dir2
three_main.c
four.c
I need to create a shared library libdir1.so out of all c files in dir1
and an executable my_exe out o...
Harish Reddy
Votes: 0
Answers: 1
va_args not accepting signed integer in C
I was designing my kernel using C. While making the kprintf function (a function like printf but works with the kernel) I saw that signed integers (precisely the data type is long), va_args is convert...
0xdead
Votes: 0
Answers: 2
Why does gcc not produce DWARF5 bin even after passing ``-gdwarf-5`` flag?
I am trying to compile a basic c program to get the binary ELF on my Ubuntu x86-64 machine. I want the binary to comply with the DWARF5 format as I am working on writing a .debug_sup section parser.
H...
dg_linux
Votes: 0
Answers: 0