Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 12 Oct 2004 21:56:14 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit @ cygwin" Organization: Esse keine toten Tiere Message-ID: <522749139.20041012215614@familiehaase.de> To: David CC: cygwin AT cygwin DOT com Subject: Re: Oracle In-Reply-To: <200410121711.i9CHBWZ9001703@sdf.lonestar.org> References: <200410121711 DOT i9CHBWZ9001703 AT sdf DOT lonestar DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hallo David, Am Dienstag, 12. Oktober 2004 um 19:11 schriebst du: > HI, > Like everyone else, I have cygwin installed on my Microsoft Windows platform. > And, I installed Oracle on the machine. Unfortuanately, all the Oracle > libraries link only with Microsoft's CL compiler. > Has anyone used Oracle's *.a libraries on Microsoft Windows platforms so > that the gcc compiler can compile a cygwin binary? I was thinking of > getting the *.a libraries from a linux distribution. Would this work? > Is there another way? You should create import libraries from the DLLs and link agaist them. See also the user guide: http://www.cygwin.com/cygwin-ug-net/dll.html I use impgen which comes from libtool: http://anfaenger.de/cygwin/impgen/ impgen ${DLLNAME}.dll >${DLLNAME}.def dlltool --as=as --dllname ${DLLNAME}.dll --def ${DLLNAME}.def --output-lib ${DLLNAME}.dll.a There are also lot of information about this on http://mingw.org/ where is described to use impdef which is available here: http://www12.canvas.ne.jp/peters/colin/win32/tools/dlltool.html Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/