I have a compiled C file, called Hello.o. in Hello.o: I have a main function and a function called int myfunc().
I wonder if I were to create a new file, hello2.c that contains a main function as well, and declare myfunc at the top of hello2.c, will i be able to compile hello2.c and link hello.o to it using a gcc command?
Thanks all in advance.