delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <457C6AE5782017419D5A7CD0E122EC131DCB4D@ca1xpr08.kla-tencor.com> |
From: | "Yu, Ted" <Ted DOT Yu AT kla-tencor DOT com> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | function exported from DLL compiled under Cygwin |
Date: | Mon, 17 May 2004 09:46:40 -0700 |
MIME-Version: | 1.0 |
I exported the following function from DLL produced by Cygwin: extern "C" int ted( float *data, int rows, int cols ) { return cols; } When I called this function from MSVC, I got exception. When I tried to initialize _impure_ptr in entry function, ld complained: djbfft2d.o(.text+0x1):djbfft2d.cpp: undefined reference to `__imp_reent_data' Which file should I link against to resolve this ? Thanks -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |