Make that
gcc -Wall -std=c99 -Wpointer-arith -fPIC -shared -o libfoo.so foo.c
^^^^^
I didn't copy your example correctly...On Monday, June 22, 2015 at 12:27:36 AM UTC+9, Jan Strube wrote: > > PS: I'm on Julia-0.4 > PPS: Your gcc call can be simplified to gcc -Wall -std=c99 -Wpointer-arith > -fPIC -shared -o libfoo.so x.c > >
