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.
why two different compilers on Windows?
-
- 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
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
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