Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   SQLAPI++ Library (http://www.go4expert.com/forums/sqlapi-library-t24622/)

Ghouri 20Jan2011 11:04

SQLAPI++ Library
 
Hi i have been given task to connect different databases and by using C++ Language.. and i searched on-line and got a solution which later i have added with win32 console application in VS2005 and it worked well..

now the same task has been given to to work with that API in Linux environment and i couldn't be able to get that how to configure API with Linux's compiler to work with that Library and write my own program. i ma send you the API web Site . please help me in this regards.

sqlapi.com

kindly help me out

i have no idea ever to work with the Linux. I will be very very grateful to you for this favor...

Just tell me how may i add the reference of those Libraries into Linux Compiler so it could compile them.. with no error and give a fruitful result
Regards,
A.Q.Ghouri

xpi0t0s 20Jan2011 13:51

Re: SQLAPI++ Library
 
To compile and link in one step just add the library names to the gcc line, e.g.:
gcc myprog.c -o myprog somelib.a

If the library isn't in the current directory use -L to specify the directory containing the library.

Ghouri 20Jan2011 14:15

Re: SQLAPI++ Library
 
Thank you very much sir...


All times are GMT +5.5. The time now is 16:32.