Visual C ++ Development Targeting Linux

I have been a Visual C ++ user for a long time, and in the coming weeks I will be joining a Linux project (C ++). It should be noted that I have absolutely zero development experience in Linux.

Currently, Visual C ++ 9, along with the Visual Assist X add-in, makes Windows development pretty enjoyable. However, after looking at various C ++ IDEs on Linux, I was a little disappointed with the coding experience.

I would like to use my current toolkit (see above) for Linux development, so I have a few questions:

  • Can VS editor convert between CR + LFLF in a reliable way?
  • Is it possible to configure a system in which, if I click "Build" in the IDE, all my work will be transferred to another block (for example, a virtual machine) running Linux that compiles my project?
  • How will debugging work? Is it possible to remotely debug an application running on Linux with gdb? If so, will the "advanced" MS debugger functions (for example, trace points, break-if-cond, etc.) be lost?

Is that even a reasonable thing? Does anyone use a Windows environment to develop Linux? If not, I think I should just suck it and go to a Linux environment together ...?

Any input is appreciated as I feel a little lost right now.

+3
source share
9

windows/linux/freebsd Windows ... .

  • VS .

  • Linux Dev node SSH putty.

  • (/git///) Linux.

  • . SCons. python - .

  • , .

  • attach gdb debug.

, :

  • . VS, unix. .

  • , , .

  • , GDB. GDB (?) , VS debuger, GDB. , VS , GCC, .

+2

, Linux. microsoft, , , Windows Windows; , Visual ++ ++.

, V++.

Linux , UNIX Windows. ( - , "dos2unix" )

, , ExpanDrive Windows, .

ssh rsh Windows make Linux.

+3

, Linux. ? , , . - Windows, Cygwin, .

+2

Linux, Visual Studio + Visual AssistX IDE. VS + VAX - , . , .

:

  • Cygwin openssh Linux- .
  • Linux- samba Windows.
  • "makefile" Visual Studio, Linux-.
  • make ssh Linux- .
  • sed script linux, gcc/g++ visual studio. : sed -e 's/(.): ([0-9]): (. *)/Z:\path\to\code\\1 (\ 2):\3/'\
+2

Linux , . , , , 85% Windows, - Linux.

linux . , .

IDE , , , . KDevelop - , . Qt-Creator. , Eclipse .

, , Archlinux, , - linux Linux. Linux , Kubuntu. Desktop Manager, KDE.

+1

Linux Visual Studio. . KDevelop Code:: Blocks. Linux.

/ , GNU GCC. Linux MS cl.

- gdb, GCC.

, (, bash) . .

0
  1. & 3.: cygwin + Eclipse Windows . gdbserver (VM x86 Linux ARM).

, , ( gdb ..), ...

, VS linux box... , ...

0

ftp script linux, , . , linux box,

0

, , , , .

, , gcc, MinGW, Windows. MinGW Win32- , getopt, Linux MinGW32 ( , Linux API Windows).

MinGW Visual ++ . , , , Linux MinGW , MinGW Visual ++.

, MinGW Visual Studio, ​​, Visual Studio, . , , , MSBuild.

, , . , , - . vi ( emacs, ), ctags gdb - Visual Studio, . MinGW32 Cygwin MSYS Linux.

0
source

Source: https://habr.com/ru/post/1706999/


All Articles