This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: compiling with visual studio
- From: Tim Prince <n8tm at aol dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 01 Jul 2011 13:31:14 -0700
- Subject: Re: compiling with visual studio
- References: <C789D6D0-7FCF-4CC6-BD68-5A220D224793@flashpixx.de>
- Reply-to: tprince at computer dot org
On 07/01/2011 09:22 AM, Kraus Philipp wrote:
Hello,
I'm new with cygwin and hope my question is not off topic. I try to port a C++ framwork to Windows. The framework uses Atlas and LAPack, libxml (with libiconv and zlib) and GiNaC with CLN. Some libs like zlib can I build with the Visual Studio nmake command, but other can be build with configure, make, make install only.
I have setup the Cygwin.bat with Visual Studio (the Atlas developer describe this on http://math-atlas.sourceforge.net/errata.html#WinComp) but do I understand it in a correct way, that after setting the environmental variables, I can use the VS compiler under Cygwin? I have installed the gcc, g++, gfortran and make tools under Cygwin and can compile my libraries, but the configure script determine the ld linker. If I have compiled a library under cygwin, can I link the binary in Visual Studio?
Thanks
If you want to link gnu compiled objects under Visual Studio, the mingw
cross compilers would be more suitable than the cygwin compiler. This
quickly gets off topic. If you want to use standard Makefiles, gnu make
(including, but not restricted to, the cygwin one) is a better bet than
nmake. There's no law against using mingw or even CL with gnu make.
--
Tim Prince
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple