Hi !
I tried a different solution :

just use a Makefile.
You need to build them using:

gcc -c helloFunc.c -o helloFunc.o
gcc -c myHello.c -o myHello.o
gcc myHello.o helloFunc.o -o hello

Let me also try the solution you suggested . Thanks :-)