Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » static libraries for tdm and using shared lib
static libraries for tdm and using shared lib [message #41842] Wed, 29 January 2014 01:37 Go to next message
mtdew3q is currently offline  mtdew3q
Messages: 181
Registered: July 2010
Location: Upstate, NY (near Canada)
Experienced Member

Hi-

Koldo may know this one. I used TDM compiler suite but when I went to use libpq.dll (postgres) for windows I notice that the tdm libraries are static.
I can't make the computer recognize -lpq. I tried putting in the windows system directory and various places but no joy.

TDM says at the command line I can use these two switches below.

-shared-libstdc++ -shared-libgcc

I tried the shared radio button versus all shared.

I don't think firebird had to link against a dll file. There libraries were named fbclient_ms.lib.

Can anyone make a cool suggestion? I am just checking out some code for db stuff with postgresql during my free time at night.

thanks,
mtdew3q
Re: static libraries for tdm and using shared lib [message #41843 is a reply to message #41842] Wed, 29 January 2014 02:22 Go to previous message
mtdew3q is currently offline  mtdew3q
Messages: 181
Registered: July 2010
Location: Upstate, NY (near Canada)
Experienced Member

I think I figured it out.

Here is my debug link options:

-Wl,-Bdynamic -lpq

thanks
Previous Topic: CTRL-F2 crashes on UBUNTU 12.04 64-Bit
Next Topic: Upp links every time and takes minutes
Goto Forum:
  


Current Time: Fri Apr 26 20:19:42 CEST 2024

Total time taken to generate the page: 0.02980 seconds