https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26472
wzis <wzis at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wzis at hotmail dot com --- Comment #18 from wzis <wzis at hotmail dot com> --- Not sure whether the issue I got is related to this bug: When using GCC to compile a C program, the binary got is linked with a libgcc_s.4 under the HP-GCC 4.7.1 installed directory /opt/hp-gccxxx/xx/yy/../zz/aa/../, and to run the program on another machine, that machine has to install the GCC also, that's very bad. My question is why can't GCC generate a static lib for those functions that must be used for the binary to run and linked with the program statically? Isn't that will remove the dependency to GCC package for running the program? I'm using hp-gcc-4.7.1.