python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Why is a statically-linked "hello world" program so big (over 650 KB)?
Consider the following program:
#include <stdio.h>
int main(void)
{
printf("hello world\n");
return 0;
}
If I build it with GCC, optimizing for size, and with static linking, and ...
ein supports Moderator Strike
Votes: 0
Answers: 3
Filesystem c++, geting no output. Avoiding static compiling?
I'm having problems getting any output from the std::filesystem functions in C++, even from the most simple functions like current_path. I'm compiling with mingw64, g++ on Windows, it comes with C++17...
blundered_bishop
Votes: 0
Answers: 0
unresolved external symbol error even when setup of visual studio project is done properly
In a nutshell
I am tring to use an existing C++ library.
The problem is that it's not compiled.
I took the src code (a visual studio project) and tried to compile it.
The thing is that I can't link my...
Mark Oulitin
Votes: 0
Answers: 1
How to link symbol from shared object B into shared object A
Current I'm building a shared object library using the following command
gcc -I ../include ../../ModuleBDef/include -I ../../ModuleB/include -I ../../ModuleADef/include --shared -fPIC moduleA.c plat_...
tyleax
Votes: 0
Answers: 1