Re: USING CC INSTEAD OF ESQL
Posted in 1995
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Timothy Hood (timothy.hood@sltrib.com) wrote: : K> From: kaa@MCS.COM (Kayode Akanni) : K> I want to be able to use cc instead of esql to link object files in : > a project I am presently working on. However, I still get undefined : > errors after I have what I consider the relevant libraries on the link : > line ( -lsql -lgen -lasf netlib.a -los -lnsl). My goal is to create an : > archive library of esql routines that I can then call in a C/C++ code. : > Anybody get an opening on this one? I also had to create a library of esql routines and call them from c/c++ apps, but I used the esql program to do it. Is there any reason you don't want to use esql? One problem that I had with it is that it didn't work with Purify. We use this product to search for memory allocation and reference errors. It uses a shell script which checks your linker, esql is not one of its known linkers and therefore causes it to bomb. I had to modify the purify script and introduce it to esql. Kurt Mehlhoff Software Engineer Information Advantage kurt@infoadv.mn.org 7401 Metro Blvd. Ste. 500 uunet!tcnet!infoadv!kurt Edina, MN 55439 (612) 820-3840 (612) 820-0712 FAX