ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Hi, I want to edit linux kernel source code in MS Visual Studio. I saw the code and these are c files but there is no project file that i open it and whole project opens up. I can open each individual file but not the whole project.
Thanks in Advance.

Ok but will that allow me to see dependency of files and see which function is defined where and being called where?

Don't know, really. This is Linuxquestions...most of us don't have alot of experience with Microsoft products. The best way to find out is to actually open the file(s), and see what happens, or contact Microsoft/ask on a Microsoft forum.

I will probably get the big smack down for saying this, but if you don't know, don't post a reply.

Yes, we get the occasional Windows person in here looking for help. And we actually have people who know both Windows and Linux who can answer their questions.

Well, what did you contribute to answering the question?

Yes, there are people here that do know Windows. But that's not the focus of this forum, so directing someone with a Windows question to the right place isn't a bad thing. Yes, I'm sure there are folks who COULD answer it...but then what? More MS questions?? There are folks here that know Mac,too...going to answer those as well?

Yes, there are people here that do know Windows. But that's not the focus of this forum, so directing someone with a Windows question to the right place isn't a bad thing.

Actually, the question was about how to navigate the Linux source using Visual Studio. To me, that is clearly a Linux question and this is the correct place to find the answer. Only a person like me who works on Linux kernel source one week and Windows driver source the next would know how to setup Visual Studio to properly handle Linux source code.

Actually, the question was about how to navigate the Linux source using Visual Studio. To me, that is clearly a Linux question and this is the correct place to find the answer. Only a person like me who works on Linux kernel source one week and Windows driver source the next would know how to setup Visual Studio to properly handle Linux source code.

Sorry, I think you're wrong. Using Visual Studio on Windows to open Linux source code, doesn't make it a Linux question. By that definition, if I create a Word document on a Mac, and email it to someone, and they have problems viewing it on their Blackberry, that would make it a Mac question, right?

It's obviously not...what created the file, and what the file is for, makes no difference. The OP is having problems with a Windows program, on a Windows platform.

Sorry, I think you're wrong. Using Visual Studio on Windows to open Linux source code, doesn't make it a Linux question.

It does if you understand the second question:

Quote:

Originally Posted by urfi

Ok but will that allow me to see dependency of files and see which function is defined where and being called where?

Modern versions of Visual Studio have the ability to navigate code similar to the way cscope works.

Quote:

Originally Posted by TB0ne

By that definition, if I create a Word document on a Mac, and email it to someone, and they have problems viewing it on their Blackberry, that would make it a Mac question, right?

No. The two situations are not even remotely similar.

The true equivalent would be if someone was asking how to edit the source for a Windows driver using vim on a Linux box.

If someone posted such a question to a Windows forum, I would expect someone similar to you to admit they did not know the answer and then explain why the post is in the wrong forum. Hopefully, there would be someone as helpful as me to actually answer the question.

Modern versions of Visual Studio have the ability to navigate code similar to the way cscope works.

No. The two situations are not even remotely similar.

The true equivalent would be if someone was asking how to edit the source for a Windows driver using vim on a Linux box.

If someone posted such a question to a Windows forum, I would expect someone similar to you to admit they did not know the answer and then explain why the post is in the wrong forum. Hopefully, there would be someone as helpful as me to actually answer the question.