delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/18/12:54:46

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
Delivered-To: mailing list cygwin AT cygwin DOT com
From: MPP96SMW AT sheffield DOT ac DOT uk
To: cygwin AT cygwin DOT com
Date: Fri, 18 Jan 2002 17:52:27 -0000
MIME-Version: 1.0
Subject: Can I build a windows dll and lib from cygwin
X-mailer: Pegasus Mail for Win32 (v3.01d)
Message-ID: <4E657D96EAA@swineshaw.shef.ac.uk>

As I am only just getting into cygwin, I would like to know if it is possible to 
build a block of unix code (just console applications) and produce a dll which 
can be called by windows applications.
I have done this following the advice on the cygwin sites and produce the 2 
files which i thought i needed these are foo.a (renamed to foo.lib below) and 
foo.dll.
When I try to build a windows application linking to foo.a i get an error saying 
the lib file can not be understood.
Have misunderstood the objective of the dll tool is it only to build apps on 
cygwin?
I am using an application called matlab to build this file and get the following 
echo returned

Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022 
Copyright (C) Microsoft Corp 1992-1997. All rights reserved. 
 
vistaread_mex.obj foo.lib mexversion.res  
 
vistaread_mex.obj : error : Internal error during Pass1

Does this mean anything to anyone?
 
Mr. S. Wood,
Research assistant

Dept Medical Physics & Clinical Engineering
I floor
Royal Hallamshire Hospital
Glossop road,
Sheffield,
England.
S10 2JF

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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