I compiled libnix.a with -g and tried to strip it afterwards,
Stripping does not chage the size. (remains huge)
"stripped" libnix.a cannot be linked afterwards.
The same is true for .o files.
I created a simple hello_world.c and compiled it with -c -g
Then I stripped the hello.o file. It remains big.
Linking the "stripped" hello.o failed with "missing main".
I compiled libnix.a with -g and tried to strip it afterwards, Stripping does not chage the size. (remains huge) "stripped" libnix.a cannot be linked afterwards.
The same is true for .o files. I created a simple hello_world.c and compiled it with -c -g Then I stripped the hello.o file. It remains big. Linking the "stripped" hello.o failed with "missing main".
Stripping executables works.