do you mind handing out a primer on linking vs static compiliing. Especially in the context of GPL?
@Ming while it's fresh do you mind handing out a primer on linking vs static compiliing. Especially in the context of GPL?
foo.c with some functions that I want to use in my application, bargcc -c -o foo.o foo.car rcs libfoo.a foo.ogcc -c bar.c -o bar.ogcc -o bar bar.o -L. -lfoo-shared flag and you end up with a .so file - e.g. libfoo.so gcc -L. -lfoo -o bar bar.cfoo.cbargcc -c -o foo.o foo.car rcs libfoo.a foo.ogcc -c bar.c -o bar.ogcc -o bar bar.o -L. -lfoo-shared.solibfoo.sogcc -L. -lfoo -o bar bar.c