English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-12-30 18:03:15 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

Yes. If you're writing an OS for the x86 architecture you could use Microsoft's Visual C++ or gcc, but you'd have to replace the standard libraries and the startup modules that get linked in, since these probably rely on hooks to the existing OS. Usually those will be implemented in assembly language.

Nowadays C is probably the most common OS language, with a smattering of assembler.

2007-12-30 18:10:32 · answer #1 · answered by VirtualSound 5 · 0 0

Absoultely...in fact Windows XP and Vista and even Visual C++ itself (!) were written in Visual C++...Isn't that strange to tihnk that Visual C++ is written within itself ? but it's true...they use older versions to accomplish this... Check Wikipedia on Visual C++ for more details.

Granted if u write an os in VC++ you will be stuck potentially using windows specific libraries which means your OS would be dependant on windows libraries when it started up...You could get by this by using standard ansi libraries to write your OS and even get down and dirty writing hardware-specific assembly code too (within VC++ too).

2007-12-30 18:08:58 · answer #2 · answered by Questrade Coupon Code 4 · 0 0

yes, you could.

2007-12-30 18:05:58 · answer #3 · answered by TheIsraAlien 2 · 0 0