| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Mark Charney <mark_charney AT ieee DOT org> |
| Subject: | When ssh'd in, cannot run MS compiler /Zi debug option. |
| Date: | Wed, 19 Jul 2006 04:06:06 +0000 (UTC) |
| Lines: | 42 |
| Message-ID: | <loom.20060719T053158-768@post.gmane.org> |
| Mime-Version: | 1.0 |
| User-Agent: | Loom/3.14 (http://gmane.org/) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
I suspect I'm missing some "rights". This is an issue for me
on multiple machines running Windows Server 2003 x64 or for
32b WinXP.
When I try to compile using the debug-option (/Zi) to the
Microsoft Visual Studio Pro 2005 compiler:
cl /Zi hello.cpp
it only works from within cygwin if I am on the console or
remote desktop. If I ssh-in to the same machine, it fails with
a error message:
Fatal Error C1902: Program database manager mismatch; please
check your installation.
Compiling without /Zi works fine anywhere we try it. My best guess is
that it has to do with some RPC rights required for the debug-symbol
file (PDB) generation done by the mspdb80.dll . That DLL uses RPC to
talk to the mspdbsrv.exe.
Any ideas? Is this a problem because the compiler running as my via
ssh doesn't have sufficient rights to talk RPC to the mspdbsrv.exe ?
Is there some editrights-right that I need to add to the sshd_server
or my own account to get this to work properly?
When I run "editrights -lv -u myusername", it does not list any
rights either on the remote-desktop or when ssh'd in. My account
is an administrator account.
My cygwin installations are complete & up-to-date as of today. (I
cannot attach a cygcheck output via the gmane interface). FWIW:
cygwin 1.5.20-1
openssh 4.3p2-3
(Please don't flame me for using Microsoft compilers. My code compiles
with gcc on all platforms but one: win64 (x86-64 windows). Binutils
hasn't gotten there yet; it would be *really* great if they did.)
Thank you.
...Mark
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |