Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Embeddable GCC

Name: Anonymous 2016-09-08 14:56

Is there a small version of GCC for shipping with Windows program? Because Mingw installation takes frigging gigabyte, including a lot of bloat, like C++ and fortran compiler, with useless crap, like directx bindings.

Name: Anonymous 2016-09-15 0:33

It is no longer possible to compute function-size in GCC.
"Because GCC-3.4 reorders completely functions and this is no more working:
int myfct (int param) {
return 3 * param;
}
asm (" __sizeof__myfct = . - myfct \n");
"

knowing function size is useful if you use it for automatic code generation or producing a backtrace.

So GCC does what it was not asked to do, thinking it is smarter than programmer.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List