delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/06/15:44:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: 6 Oct 2000 12:44:01 -0700
Message-ID: <20001006194401.14378.cpmta@c004.sfo.cp.net>
X-Sent: 6 Oct 2000 19:44:01 GMT
Mime-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
From: michal karczmarek <michal AT karczma DOT net>
X-Mailer: Web Mail 3.7.1.4
X-Sent-From: karczma DOT net AT namezero DOT com
Subject: Linking Dynamic Libraries

Hi

I'm trying to port a compiler called SUIF to Cygwin.  I managed to get version 1 compiled (it only uses static libraries), but I'm having trouble linking shared libraries in version 2.

I'm using standard Makefiles, which were written for UNIX.  The entire platform compiles very nicely on Linux and Solaris, so I'm fairly certain that the makefiles are OK.

The problem happens when I try to link a shared library.  The library is there, I can see it in the directory.  (I'm listing output of the compile and ls below)

Can somebody please help me?  Pointing me to a reference on how dynamicly linked libraries are handled under Cygwin and (hopefuly) some advise on how to port them would be very much appreciated.

Thnx

m

/usr/bin/g++ -shared -o \
/home/administrator/suif2/suif2/nci/solib/libsmgn.so \
grammar.o macro.o macroBase.o parser.o \
rem_comments.o \
-L/home/administrator/suif2/suif2/nci/solib \
-L/home/administrator/suif2/suif2/nci/solib -lcommon
/usr/bin/ld: cannot find -lcommon

ls /home/administrator/suif2/suif2/nci/solib
libcommon.so   libedgdisp.so


_______________________________________
Click here to get your free domain name 
and personal portal from NAMEzero(TM): 
http://www.namezero.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019