Hello everybody,
I need help in linking a library in my C program in
linux. I am going through a a tutorial
http://web.cs.swarthmore.edu/~newhall/unixhelp/howto_C_libraries.html
but one thing is creating doubt in my mind.
$ gcc -o myprog myprog.c -L/home/newhall/lib -lmine is used to link
library file with the main code.
is this command is sufficient or anything extra is required.
Seeking help.......
--
With regards.
Shailendra Singh
Team "SURYAAN"
Here's to the crazy ones, the misfits, the rebels, the troublemakers,the
round pegs in the square holes... the ones who see things differently --
they're not fond of rules... You can quote them, disagree with them, glorify
or vilify them, but the only thing you can't do is ignore them because they
change things... they push the human race forward, and while some may see
them as the crazy ones, we see genius, because the ones who are crazy enough
to think that they can change the world, are the ones who do.
-- Steve Jobs, US computer engineer & industrialist (1955 - )*
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer