Visual Studio .NET
Visual Studio .NET
I spent some time looking at VS.NET for osdev last night...
it doesnt look good, unless i totally missed some options.
vs6 was pretty good in the sense it let you specify libraries, have no default libs, etc, sure it output in PE, but you could turn everything off and it could produce plain non windows code...
vs.net does not seem to let you do this. there doesnt seem to be the option to disable libs (i had nodefaultlibs on, but it kept trying to link against kernel32.lib, gdi.lib and loads of others).
bit of a shame....
has anyone else spent any time looking at vs.net for doing osdev?
it doesnt look good, unless i totally missed some options.
vs6 was pretty good in the sense it let you specify libraries, have no default libs, etc, sure it output in PE, but you could turn everything off and it could produce plain non windows code...
vs.net does not seem to let you do this. there doesnt seem to be the option to disable libs (i had nodefaultlibs on, but it kept trying to link against kernel32.lib, gdi.lib and loads of others).
bit of a shame....
has anyone else spent any time looking at vs.net for doing osdev?
-- Stu --
-
pskyboy
Re:Visual Studio .NET
How exactly do you get VC++ 6 output to turn into flat binaries.
Also the vact VS .Net doesn't allow you to do it isn't suprising at all as it is very similar to java in that it needs lots of extra bits to function. These include grbage collection threads and many other things.
Peter
Also the vact VS .Net doesn't allow you to do it isn't suprising at all as it is very similar to java in that it needs lots of extra bits to function. These include grbage collection threads and many other things.
Peter
Re:Visual Studio .NET
well i'm not talking about the language with garbage collection, i'm talking about the IDE system.
vs6 doesnt let you output flat binaries, it still outputs PE files, BUT you can tell it not to use any windows libraries, etc, set te base address, so you can write non windows dependant code, its caveat is its output file format is PE.
vs.net does not let you have this much control on what code you write. It seems you cant write non windows dependant code in the vs.net IDE. (unless I'm missing things).
vs6 doesnt let you output flat binaries, it still outputs PE files, BUT you can tell it not to use any windows libraries, etc, set te base address, so you can write non windows dependant code, its caveat is its output file format is PE.
vs.net does not let you have this much control on what code you write. It seems you cant write non windows dependant code in the vs.net IDE. (unless I'm missing things).
-- Stu --
-
Tim
Re:Visual Studio .NET
Considering the compiler and linker in VS.NET are just upgrades of the ones in VC++ 6, you should be able to specify the same options in VS.NET. Maybe you need to enter the options by hand instead of going through the Project Settings dialog. Are you sure you're not emitting Managed C++ code?
Re:Visual Studio .NET
yeah the project was setup as a console app, the linkers commandline brings back this list of libs
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
ahaaah! i turned a few more options off, and its got it back to no libs. hmm. ok. now i dont know which of the options it was.
i'll have to double check, so I can comeup with a basic list so others can follow it.
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
ahaaah! i turned a few more options off, and its got it back to no libs. hmm. ok. now i dont know which of the options it was.
i'll have to double check, so I can comeup with a basic list so others can follow it.
-- Stu --
-
engine252
Re:Visual Studio .NET
i don't think you can write an os in vs.net since it uses some kind of virtual machine so in the end you'll need that virtual machine that only runs on windows to run your os.
Some team is working on a simmular virtual machine for linux
so you'll be able to run apps made with .net on linux.
but wheres the fun on writing an os that run on an other os. ;D
Some team is working on a simmular virtual machine for linux
so you'll be able to run apps made with .net on linux.
but wheres the fun on writing an os that run on an other os. ;D
-
jrfritz
Re:Visual Studio .NET
engine252...he saied IDE...
a nice editor for linux is "kwrite" it has syntax highlighing....
a nice editor for linux is "kwrite" it has syntax highlighing....
-
Whatever5k
Re:Visual Studio .NET
I don't like KDE at all...the best editor is still vi/vim.a nice editor for linux is "kwrite"
-
jrfritz
Re:Visual Studio .NET
I also use "nedit".
I like KDE some..but it's so slow...I like ICEwm the best.
I like KDE some..but it's so slow...I like ICEwm the best.
- Pype.Clicker
- Member

- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Visual Studio .NET
Fun to see that people still use VI 
I do use the power of ><emacs
I do use the power of ><emacs
-
DarylD
Re:Visual Studio .NET
Well, I develop under Windows 2000/XP and use context as my editor. I know its not an ide but its really lightweight and easy to use. I use cygwin as my development environment and VMWare as my emulation environment.
This could almost do with being in a separate thread.
This could almost do with being in a separate thread.