| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:4614 gnu.gcc.help:6987 |
| Newsgroups: | comp.os.msdos.djgpp,gnu.gcc.help |
| From: | ashoks AT ia-us DOT com (Ashok K. Shankarappa) |
| Subject: | Re: Cygnus gnu-win32 OR djgpp with RSXWIN |
| Message-ID: | <1996Jun4.164614.2989@ia-us.com> |
| Reply-To: | ashoks AT lia DOT com (Ashok K. Shankarappa) |
| Organization: | Litton/Integrated Automation, Alameda, California |
| References: | <4ou87t$jov AT harbinger DOT cc DOT monash DOT edu DOT au> |
| Date: | Tue, 4 Jun 1996 16:46:14 GMT |
| Lines: | 14 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
When I try to create an executable, dynamically linked to a shared object by specifying the library as -lxxx, the g++(2.6.3/2.7.2)linker always tries to pick up the static library libxxx.a and not libxxx.so (only on HP-UX). If I remove libxxx.a leaving alone libxxx.so in the directory, then linker fails, saying not able to find -lxxx. Any idea, why is this happening ? I have another question. How do I find out the dynamic dependencies of an executable on HP-UX. The command `ldd` is not available on HP-UX. I would greatly appreciate your help. Thanx a lot in advance. Ashok
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |