Is it possible or recommended to use a Cygwin compiled lib file or dll
in Visual studio? The problem is that although I'm doing my
development in Visual Studio, a number of the sources I intend to use
have Cygwin makefiles but no Visual studio projects.
...
You're probably more interested in the MinGW project <mingw.org>. It
uses MS's CRT, which will likely make your intended melding easier.
Thanks, but manual recommends Cygwin for compiling the library Goto BLAS
(http://www.tacc.utexas.edu/resources/software/#blas) for the Windows
XP/2000 environments. I'm a bit surprised that the build process uses
the GNU compiler to build the library (which by the way has a *.a file
extension).
Other than linking the library in a Win32 application (trial and see
method), how can I verify if the library produced is a Win32 linkable
library?
I guess what I find surprising is that gcc can be used to produce
Windows XP runnable code. Here's a typical compilation command generated
by the build process:
gcc -c -O2 -D_GNU_SOURCE -DWINDOWS_ABI -Wall -m32 -DF_INTERFACE_F2C
-DNEED_F2CCO NV -DMAX_CPU_NUMBER=2 -DNUM_BUFFERS=\(2*2\)
-DASMNAME=_cpotri -DASMFNAME=_cpotri _ -DNAME=cpotri_ -DCNAME=cpotri
-DFUNDERSCORE=_ -DNEEDFUNDERSCORE -DBUNDERSCORE=_ -DNEEDBUNDERSCORE
-I../.. -DARCH_X86 -DPENTIUMM -DL1_CODE_SIZE=32768
-DL1_CODE_ASSOCIATIVE=8 -DL1_CODE_LINESIZE=64 -DL1_DATA_SIZE=32768
-DL1_DATA_ASSOCIATIVE=8 -DL1_DATA_LINESIZE=64 -DL2_SIZE=1048576
-DL2_ASSOCIATIVE=8 -DL2_LINESIZE=64 -DITB_SIZE=4096 -DITB_ASSOCIATIVE=4
-DITB_ENTRIES=128 -DDTB_SIZE=4096 -DDTB_ASSOCIATIVE=4 -DDTB_ENTRIES=128
-DHAVE_CMOV -DHAVE_MMX -DHAVE_SSE -DHAVE_SSE2 -DHAVE_CFLUSH
-DNUM_SHAREDCACHE=1 -DNUM_CORES=1 -DCORE_BANIAS -DCOMPLEX -UDOUBLE
zpotri.c -o cpotri.o
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/