Application of Vs2012 in Linux development (1): Development environment

Source: Internet
Author: User

Multiple ideshave been used during the development of Linux ,code::blocks,Eclipse,source Insight, There are a variety of Idesprovided by the embedded vendors, such as visualdsp , and so on, feeling always less powerful than vs . Although vs does not provide the compilation and debugging support for GCC , it can only serve as an editor in previous development, but vs provides a powerful SDK, this article will explore how to extend VS, which supports the development of Linux .

In fact, like Visual Gdb and other tools have a similar function, nothing but a fee, do this thing only one reason: Fun ...

1.1Development environment

Host development Environment:

System:WIN7

Development tools:vs2012 + vssdk

Development language:VC + C # + Python-2.7.6.

Virtual machine:Vmware work station-9.0.

To compile the host development environment:

The system of virtual machines is used for the provision of various services in cross-compiling and embedded development.

Operating system:RHEL-6.3, This virtual machine is for development only, regardless of its security configuration.

Development tools:gcc, the tool chain under different platforms.

System services: Enable tftp,samba,ftp,ssh

Target machine: We want to use the platform, such as sea think,TI,ADI and other platforms.

Connection mode:telnet, serial port

Debug mode:gdb/gdbserver

1.2Directory sharing

First, share the Windows directory with VMware 's shared directory functionality to Linux, such as f:\work, and the directory you see under Linux is /mnt/hgfs/share/work.

Next, the directory under Linux is shared with the Samba service to Windows, such as /work, mapped to z:\under windows , It is important to note that Samba 's account number and the account we use to SSH in after us should be consistent to avoid unnecessary interference due to permissions issues.

When we are developing uboot and the Linux kernel, the code can only be placed on a Linux virtual hard disk, not in a Windows system. Because they need to use symbolic links, they need to be case sensitive.

In general application development, if you do not use symbolic links, you only need to put the code in the Windows directory, which can speed up the code analysis of vs .

1.3InstallationIronPython

Because pythonis needed in your project, you need to install the IronPython extension in order to facilitate editing of Python files in vs2012 .

1.4SDF File Location

Because VS2012 's browsing information is placed in an SDF file, and our project files may be placed in the shared directory of the virtual machine, the path to the SDF file needs to be changed, or it will cause a slow run.

Application of Vs2012 in Linux development (1): Development environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.