Linking flat binary in Windows with NASM and Intel C++
Posted: Sat May 07, 2011 10:39 am
Good evening people!
I'm doing my research regarding OS development before I'm getting started, and the first thing that struck my mind is what compilers and other tools I want to use.
My school provides me with a Simics license, so I have somewhere to test my results in. I also have grown very fond of the Intel C++ Composer (former compiler).
For my assembly needs I have always used NASM, both in Linux and Windows. Although, my issue lies in however I'm going to link NASM objects and ICC objects.
ICC creates COFF objects as far as I'm aware, their xilink.exe that does all the linking is basically a wrapper around the MSVC link.exe, which also only outputs PE/COFF files.
Now when I'm first getting to learn OS development I wish to start of easy with flat binary output, however. Is there a linker today that can link COFF objects to flat binary?
Forget about this, I'm sorry I posted prematurely. I learnt from Intel Forum that ICC directly requires the Visual Studio linker. It is possible to create COFF files separately and later on link them by myself but that seems like an awful lot of unnecessary requirements for my taste.
I'll go over to MingW GCC.
I'm doing my research regarding OS development before I'm getting started, and the first thing that struck my mind is what compilers and other tools I want to use.
My school provides me with a Simics license, so I have somewhere to test my results in. I also have grown very fond of the Intel C++ Composer (former compiler).
For my assembly needs I have always used NASM, both in Linux and Windows. Although, my issue lies in however I'm going to link NASM objects and ICC objects.
ICC creates COFF objects as far as I'm aware, their xilink.exe that does all the linking is basically a wrapper around the MSVC link.exe, which also only outputs PE/COFF files.
Now when I'm first getting to learn OS development I wish to start of easy with flat binary output, however. Is there a linker today that can link COFF objects to flat binary?
Forget about this, I'm sorry I posted prematurely. I learnt from Intel Forum that ICC directly requires the Visual Studio linker. It is possible to create COFF files separately and later on link them by myself but that seems like an awful lot of unnecessary requirements for my taste.
I'll go over to MingW GCC.