Guys. I need some help/advise.
I'm writing c++ internet apps for a Unix server, stuff like shopping carts, etc... that run in a browser. Most of my apps right now are ran through a browser.
My problem is this. Often, I have to compile and link other libraries etc.. to my own code. But I don't know how to do it!
So I'll struggle for hours and days trying to figure it out.
Right now I'm trying to access a mysql database with c++. I think the library to do so is already on my server, but I can't tell.
At any rate, I contacted my hosting provider and they give me a prompt response letting me know what I have to do.
(see that post for details)
Anyway, I need to figure out what they're talking about when they refer to using -Wall and linking with a '-lmysqlclient ' switch etc..
But I can not find any good resourse on the internet that explain this in plain english!
I need to know the basics and then be taken through, step by step, of how to complie multiple files from a command line (telnet)
what order you do stuff in?
Link, then compile? Compile then link?
how do you link? Why do you link? what is linking?
What is the -a for? What is the -Wall for.
That is the sort of info I need. I dont mind taking the time to learn it myself, but I can't find the info anywhere.
Is there a book somewhere that specifically goes through this stuff for a complete newbee? A web resourse that takes a beginner through it?
And finally, where did you learn it at? College? On the job? A good book?
I'm tired of spending weeks ... and weeks ... and weeks ... sometimes to figure out one simple thing.
Sorry for whining.
And I appreciate any help you can give.