
Compilation with GCC, and then linking it with the Nasm output file, using the linker ld is a mind storming problem for me. I am using using Windows7 (x86). Please suggest, which version of GCC should I use, and how to do all the compilation steps using the GCC and NASM and then how to link them. Please also suggest the code along with all the files, so that my problem get solved...
1. Which version of GCC should I use on Windows7
2. How to compile with GCC
3. How to assemble with NASM
4. How to link them using ld
I searched a lot of websites, but still......
So, Please help me in solving my Problem