Page 1 of 1

Visual Studio (again)

Posted: Fri Feb 12, 2016 7:08 pm
by zlixine
Before you tell me I must search before asking questions and view beginner mistakes and give me links to these:
http://wiki.osdev.org/Visual_Studio
http://wiki.osdev.org/Visual_C%2B%2B_Runtime
I already did it.

These pages seem incomplete-ish or ambiguous-ish
While the tutorials on making OS with gcc is VERY VERY complete and 100% crystal clear
why in VS tutorials they say "Some basic definitions:" and "Multiboot" they just view the code while in the bare bones or meaty skeleton tuts (Which assumes you use GCC) has a very easy explaining way.
can some one improve them?

Re: Visual Studio (again)

Posted: Fri Feb 12, 2016 7:24 pm
by neon
Hello,

The multiboot section appears to be based on my thread here. The basic setup is to use the msvc segment naming convention to define a section and merge it into the beginning part of the .text segment so its both paged aligned and within the first 8k of the resulting image. The example under Some basic definitions is odd. It appears to work around the msvc symbolic naming system for c++ -- but all you need to do is build it as c rather then c++ to get the same effect.

Any case, I don't really edit the Wiki on this site but can certainly help with msvc if you have any questions on anything.

Re: Visual Studio (again)

Posted: Fri Feb 12, 2016 10:50 pm
by tsdnz
Hi, I have my dev set up using VS c++ as my IDE, and gcc as the compiler.
Is this what you would like to do?