Mail Archives: cygwin/2011/07/01/17:55:46
On 2011-07-01 22:31:14 +0200, Tim Prince said:
> 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.
Thanks for your great answer. I have seen that I can install the mingw
toolset under Cygwin, because I need the configure process before
running make. If I install the mingw tools, run my configure script and
than make, can I create my binaries with this steps or is another way a
better solution?
Thanks
Phil
--
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
- Raw text -