why two different compilers on Windows?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
spectaculus
Posts: 8
Joined: 16. Apr 2008, 10:40

why two different compilers on Windows?

Post by spectaculus »

Hi community,

building vbox from the source code on Windows requires you to install two different compilers: gcc and MS Visual Studio.

I did not have a closer look at the architecture of the whole system, but even for a system that wants to be portable between Windows and Unix (which is a big issue of course) having two different compilers in use simultaneously seems pretty strange to me.

Has anybody already figured out what compiler is used for what and why?

Thanks.
Dest
Volunteer
Posts: 138
Joined: 11. Jan 2008, 17:03
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows 2000, Windows XP, Ubuntu, FreeBSD

Post by Dest »

the ose actually has information about that...

it's not so much gcc that you need as the rest of the mingw environment. Mostly this is because the configuration / compilation tool (kmk) is written for gnu, hence the environment.

Most of the time you take something that's cross platform compatible though, you'll find either mingw or cygwin (if it's not true cross) is required for compilation.. - many of these use mingw to create pure VS make files, then use VS to make the program.. which is somewhat how vbox does it
Post Reply