Visual Studio C++ natively running on Linux?
I realize this question may reflect my extreme ignorance wrt to Visual Studio, but I hope it doesn't hurt to ask:
Do any Linux-native ports of Visual Studio 2005 exist? I see this lone reference:
http://www.theserverside.net/news/th...hread_id=33023
...but I suspect nothing came of it (I also didn't read the thread that closely).
Regardless, does such a beast exist? I mostly want a visual debugger for C++ programs to track multiple threads and do some remote debugging, and I've been told that Visual Studio is the best thing I can find. I much prefer to live on Linux, however, (not to mention we prefer to run our production server apps in Linux, but they also run on Windows and our devs test there for convenience's sake) and would like to find a native-Linux flavor of it. Alas, I run Windows virtual machines in Linux (with VMware) just for these purposes (assuming VS is only Windows based).
For whatever it's worth: I just tried Eclipse-CDT-3.1.1, and I was not pleased with my visual-debugging experience in CDT. Hence I'm asking about VS.
Any other recommendations?
Matt
Re: Visual Studio C++ natively running on Linux?
Quote:
Do any Linux-native ports of Visual Studio 2005 exist?
Never heard of one. Since VS 2005 is meant for developing Windows applications, I highly doubt it will be ported for Linux.
Re: Visual Studio C++ natively running on Linux?
Quote:
Originally Posted by mattengland
I realize this question may reflect my extreme ignorance wrt to Visual Studio, but I hope it doesn't hurt to ask:
Do any Linux-native ports of Visual Studio 2005 exist? I see this lone reference:
http://www.theserverside.net/news/th...hread_id=33023
...but I suspect nothing came of it (I also didn't read the thread that closely).
You'd better do that. :D
Quote:
Microsoft to Release Visual Studio 2005 for Unix/Linux
Posted by: Paul Ballard on April 01, 2005
. . .
Lastly, when asked to comment, Bill Gates Microsoft's Chief Technology Architect was heard to say "April Fools!!!!!!"
:wave: ;) :thumb:
Quote:
Regardless, does such a beast exist? I mostly want a visual debugger for C++ programs to track multiple threads and do some remote debugging, and I've been told that Visual Studio is the best thing I can find.
For Windows it may be. :)
Quote:
I much prefer to live on Linux, however, (not to mention we prefer to run our production server apps in Linux, but they also run on Windows and our devs test there for convenience's sake) and would like to find a native-Linux flavor of it. Alas, I run Windows virtual machines in Linux (with VMware) just for these purposes (assuming VS is only Windows based).
Running VS in VM you can only debug VM threads, so how can you expect debug native Linux threads (or whatever it has)? :confused:
Quote:
Any other recommendations?
Just forget it.
Re: Visual Studio C++ natively running on Linux?
Ah yes, the April-Fools' joke. I should have known, given this appeared to be the lone reference. ;)
Quote:
Originally Posted by Igor Vartanov
Running VS in VM you can only debug VM threads, so how can you expect debug native Linux threads (or whatever it has)? :confused:
We're building cross-platform software. I would not attempt to run native Linuxe binaries on Windows, but rather just build the Windows flavor from our platform-independent code (yes, a very small portion of the code is platform-dependent, and it's such a small part of the code it's mostly irrelevant). The vast majority of changes to the code base applies to all platforms. Additionally, mostly what I want to get out of VC++ is the human knowledge of what's happening in the code during complex, run-time situations, and I'm discovering that the VC++ debugger may be one of the best tools available.
Alas, Windows binaries might behave different than Linux binaries; however, our goal is to minimize these differences, and so far we feel we have been fairly successful in this area.
Quote:
Quote:
Originally Posted by mattengland
Any other recommendations?
Just forget it.
Actually, Eclipse (as noted previously; details here: http://dev.eclipse.org/newslists/new.../msg12004.html) may be a option down the road; from my latest experience, they still need to get some of the CDT-debug kinks out. CodeBlocks appears to be an option as well. Maybe DevC++. It would be nice to hear if anyone has had success with these or other IDEs. To reiterate, my main objective is to establish a quality debugger-IDE enviroment (I'm less concerned about building management, at the moment--we already have an extensive build system).
But alas, this appears to be a VC++ forum, so maybe I should take my non-VC++ question (now that we've determined Linux isn't happening for VC++) elsewhere.
Thanks for your time,
-Matt
Re: Visual Studio C++ natively running on Linux?
Quote:
Originally Posted by mattengland
I much prefer to live on Linux, however, (not to mention we prefer to run our production server apps in Linux, but they also run on Windows and our devs test there for convenience's sake) and would like to find a native-Linux flavor of it.
I'm just curious to ask....
1) Which compiler / IDE do you currently use under Linux?
2) What would Visual Studio offer that you don't enjoy at present? Is it just the superior debugging?
I'm only asking because I'll soon be looking for a decent IDE so that I can program under Linux.
Re: Visual Studio C++ natively running on Linux?
Anjuta DevStudio 2.0.2
Get It Here!!
An Integrated Development Environment (IDE) for C and C++ on GNU/Linux. It has been written for GTK/GNOME and features a number of advanced programming facilities. These include project management, application wizards, an on-board interactive debugger, and a powerful source editor with source browsing and syntax highlighting.
http://anjuta.sourceforge.net/screen...ourceview1.png
http://anjuta.sourceforge.net/screen...ta-2.0.0-2.png
Bunch of other Screen Shots
Re: Visual Studio C++ natively running on Linux?
Quote:
Originally Posted by John E
I'm just curious to ask....
1) Which compiler / IDE do you currently use under Linux?
2) What would Visual Studio offer that you don't enjoy at present? Is it just the superior debugging?
I'm only asking because I'll soon be looking for a decent IDE so that I can program under Linux.
As for Q #1:
I had not previously, consistently used a Linux IDE (or any IDE for that matter). I'm more an old-school dev, using vim, a debugger, test tools (some of them custom, especially for the ultra-distributed environment we have) and a lot lof logging output for analysis.
Alas, I don't do as much direct coding/dev/debugging work anymore; I'm one of the leaders of a team of devs. Eclipse seems to be the "first stop" IDE for Linux (although many of them currently live on Windows for the native development--see below--and I don't know of anyone on our team who uses a consistent Linux IDE, and that's a sad note about Linux IDEs in general), but as noted, the Eclipse-CDT debugger (as of 3.1.1) still leaves something to be desired; I had specific problems with multi-thread programs (most of our significant stuff uses significant concurrency), and that's quite disappointing. I excpect Eclipse to eventually get it together for CDT, but I'm not happy with it that moment. Anjuta DevStudio, as reference above, looks like an option. ddd (for a gui wrap on gdb), CodeBlocks (which we have used a lot on the Windows side; it's got a Linux port, too), DevC++ (not sure of a Linux port) may be options as well.
Q #2:
For me personally, I would probably use VC++ on Windows mostly just for the debugging analysis. If I like it, I might use it for general design/coding development as well, but like I mentioned, I tend to abandon IDEs for general cmdline/vim stuff. (I may be trying out the options I haven't seen yet, though, including Anjuta)
As for the Devs on my team: I suspect many of them would use VC++ for general stuff. Right now we are CodeBlocks focused, but we're putting in changes to our core software (see http://svn.cleversafe.org/dscore/trunk/) as I write this to support VC++; we already support a Windows port, but it's MinGW based, which apparently doesn't play nicely with VC++. Alas, we already have a ton of portability stuff in the code for all posix-based systems (many system-specific things are taken care of by Boost and Mozilla NSS) , so these changes for VC++ support seem to be pretty easy...although we haven't linked an exe and tested it yet, so I don't want to speak too soon.
I hope that helps,
-Matt
Re: Visual Studio C++ natively running on Linux?
Quote:
Originally Posted by
mattengland
I realize this question may reflect my extreme ignorance wrt to Visual Studio, but I hope it doesn't hurt to ask:
Do any Linux-native ports of Visual Studio 2005 exist?
[...]
Regardless, does such a beast exist? I mostly want a visual debugger for C++ programs to track multiple threads and do some remote debugging, and I've been told that Visual Studio is the best thing I can find.
[...]
Hence I'm asking about VS.
Any other recommendations?
AFAIK after more than 2 years there is still no port of VisualStudio to Linux, therefore we are working on add-in which makes possible to debug Unix/MinGW applications under VisualStudio (with gdb as back-end). We work on build issues (VS projects vs build on Unix) too. Gdb is powerful debugger, but unfortunately a lot of developers (especially those who are stick to VS ;)) are not able to use it at all or are very inefficient in comparison to their performance in VS environment. It regards mostly companies where people work on multi-platform projects (e.g. a lot of shared code on many platforms like Windows/Sun/HP/Linux/...) and majority use regularly VStudio, but get into trouble when there appears bug on other platform.
Kind regards,
WinGDB team
Re: Visual Studio C++ natively running on Linux?
I'd recommend including a link to your web site as this sounds like an interesting project. I've built several linux apps for Windows (using Cygwin) and debugging has always been a major problem. In my experience (and I know others may contradict this) it is very, very, very difficult to debug a multithreaded app using gdb (although surprisingly, gdb works much better under Cygwin than it does under Linux - on my system anyway). However, it's still dog slow!
I've been using CodeBlocks as my development IDE and it does make the process more intuitive - but debugging (esp. single-step debugging) is just sooooo slow. Nine times out of ten, if I set a break point the debugger won't stop at it and I have to move it a few lines until I find a place where the debugger is happy to stop. Even then, after stopping at a break point, it can take 10-15 seconds, just to step from one line to the next..!!! Do you think your product could improve things? Your web site makes it sound like it's primarily for remote debugging, so possibly not. :confused:
Incidentally - which versions of VS will support your plugin?