delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/01/07:07:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_05,FH_DATE_PAST_20XX,SARE_RECV_SPAM_NAME2
X-Spam-Check-By: sourceware.org
From: <Neil DOT Mowbray AT calgacus DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Appropriate expectation on the degree of cygwin and MS interoperability
Date: Fri, 1 Jan 2010 20:06:48 +0800
Message-ID: <004c01ca8ada$ecdb5060$c691f120$@calgacus.com>
MIME-Version: 1.0
x-cr-hashedpuzzle: ARP+ AjXt Asup DFxo D1Z2 ED4z GDlc GHE2 GkSi GwsA G0Mb HVMz HjzJ IwIw JNyd KyiY;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{A0D8C632-4E5B-4427-90D3-9792C18EA925};bgBlAGkAbAAuAG0AbwB3AGIAcgBhAHkAQABjAGEAbABnAGEAYwB1AHMALgBjAG8AbQA=;Fri, 01 Jan 2010 12:06:45 GMT;QQBwAHAAcgBvAHAAcgBpAGEAdABlACAAZQB4AHAAZQBjAHQAYQB0AGkAbwBuACAAbwBuACAAdABoAGUAIABkAGUAZwByAGUAZQAgAG8AZgAgAGMAeQBnAHcAaQBuACAAYQBuAGQAIABNAFMAIABpAG4AdABlAHIAbwBwAGUAcgBhAGIAaQBsAGkAdAB5AA==
x-cr-puzzleid: {A0D8C632-4E5B-4427-90D3-9792C18EA925}
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Folks,

A bit of a vague question but any greater clarity concerning the appropriate
level of interoperability between Cygwin and MS would be appreciated.

I have my Windows 6 and 7 platforms configured to build software using
different toolchains, the most common being (1) Visual Studio 10 and (2)
Cygwin with gcc-4.

When using the Visual Studio toolchain I will prefer a cygwin tool over a
MS tool, so for example, I always use bash and gnu make and never use the
cmd shell/power shell or nmake.  Taking this further, I will try to use
nm over dumpbin and ar over lib.

For the most part the cygwin tools interoperate with MS artifacts but
it does break down, especially, with 64bit artifacts.  For example, nm
can work with 32bit object files created by MS cl.exe but it cannot
work with 64bit MS object files (unrecognised file format).

The question is: how far should I expect the interoperability to go?
For example, is the fact that nm cannot handle 64bit MS object files
a (1) defeat in cygwin/nm or (2) I should be grateful that it works
with 32bit files and otherwise lower my expectation?

I suppose at its core the question is about the intent of cygwin.  Is
it (1) to provide unix like capabilities to a MS platform (in which case
one would expect/demand a high degree of interoperability), or
(2) to provide a unix like island inside a MS platform?

The problem with (2) is one cannot really stay isolated from the
host MS environment.

My previous question of how/if one can use cyginw *.h *.dll *.a
artifacts in a MS compiled program is essentaily the same theme
although I have lower expectations that it is possible.

Any pointers?

Regards, Neil





--
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 -


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