Can I build a windows dll and lib from cygwin

MPP96SMW@sheffield.ac.uk MPP96SMW@sheffield.ac.uk
Fri Jan 18 09:59:00 GMT 2002


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/



More information about the Cygwin mailing list