===> libbar cc -O2 -pipe -g -msse2 -MD -MP -c /home/src/regress/misc/sse2/libbar/bar.c -o bar.o building standard bar library ranlib libbar.a cc -O2 -pipe -g -msse2 -MD -MP -c -p /home/src/regress/misc/sse2/libbar/bar.c -o bar.po building profiled bar library ranlib libbar_p.a cc -O2 -pipe -g -msse2 -MD -MP -c -fpic -DPIC /home/src/regress/misc/sse2/libbar/bar.c -o bar.so building shared bar library (version 1.0) cc -shared -Wl,-soname,libbar.so.1.0 -fpic -o libbar.so.1.0 `echo bar.so | tr ' ' '\n' | sort -R` ===> foo ==== run-regress-foo ==== cc -O2 -pipe -msse2 -MD -MP -c /home/src/regress/misc/sse2/foo/foo.c /home/src/regress/misc/sse2/foo/foo.c:14:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 1 warning generated. cc -o foo foo.o -Wl,-rpath,/home/src/regress/misc/sse2/foo/../libbar/obj -L/home/src/regress/misc/sse2/foo/../libbar/obj -lbar -lpthread ./foo