linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* static or shared
@ 2003-01-07 11:19 Mohammed Khalid Ansari
  2003-01-07 13:17 ` Jan-Benedict Glaw
  2003-01-07 17:10 ` Glynn Clements
  0 siblings, 2 replies; 6+ messages in thread
From: Mohammed Khalid Ansari @ 2003-01-07 11:19 UTC (permalink / raw)
  To: linux c programming mailing list


Hi,

If /usr/lib contains both static and shared libraries of the same name 
eg odbc, which library compiler is going to take if I do..

gcc file.c -lodbc

How do I explicitly I define which library to take during compilation.

-- 

**************************************************************************

Mohammed Khalid Ansari                    Tel (res) : 0091-022-3051360
Assistant Manager II                          (off) : 0091-022-2024641
National Centre for Software Technology   Fax       : 0091-022-2049573 
8th flr,Air India Build. Nariman Point,   E-Mail    : khalid@ncst.ernet.in 	
Mumbai 400021.

Homepage : http://soochak.ncst.ernet.in/~khalid			  	  

**************************************************************************


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-08 13:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 11:19 static or shared Mohammed Khalid Ansari
2003-01-07 13:17 ` Jan-Benedict Glaw
2003-01-07 17:10 ` Glynn Clements
2003-01-07 23:43   ` strange segmentation fault in malloc() qhwang
2003-01-08  0:38     ` Glynn Clements
2003-01-08 13:40       ` QingHua Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).