User forums > Using Code::Blocks
Problems developing a 64bit driver
msim:
Hi,
I am trying to create a simple driver - something I can register and watch a printed "Driver loaded!" using debugview from sysinternals.
I'm using a Windows 8.1 64bit host machine, and tried to compile the driver using Code::Blocks Kernel Mode Development and GNU GCC compiler.
The compiled driver turned out to be specifically for 32bit systems, and I know that because sc.exe returned error 1275 which I searched on the web.
I tried to use WDK's ntddk.h file, but it is not supported by GNU GCC.
Please not that I am not interested in using Visual Studio for the task.
Thanks for answers !
oBFusCATed:
Are you sure you've installed GCC capable to produce 64bit executables?
Why aren't you interested in using the visual studio compiler?
Do you know you can use C::B to compile with this compiler?
msim:
--- Quote from: oBFusCATed on October 16, 2016, 09:43:17 pm ---Are you sure you've installed GCC capable to produce 64bit executables?
Why aren't you interested in using the visual studio compiler?
Do you know you can use C::B to compile with this compiler?
--- End quote ---
1 - No, I'm not sure I've installed such GCC. How can I be?
2 - It's not that I'm not interested in it -- I am not interested in the VS ide.
3 - Yes, I do.
stahta01:
--- Quote from: msim on October 16, 2016, 10:51:08 pm ---
--- Quote from: oBFusCATed on October 16, 2016, 09:43:17 pm ---Are you sure you've installed GCC capable to produce 64bit executables?
Why aren't you interested in using the visual studio compiler?
Do you know you can use C::B to compile with this compiler?
--- End quote ---
--- End quote ---
--- Quote from: msim ---1 - No, I'm not sure I've installed such GCC. How can I be?
--- End quote ---
Learn about the C++ Compiler you are using!
Learn whether it can do what you want to do!
--- Quote from: msim ---2 - It's not that I'm not interested in it -- I am not interested in the VS ide.
--- End quote ---
--- Quote from: msim ---3 - Yes, I do.
--- End quote ---
So, you know that the Visual Studio Compiler can be used with the CB IDE.
Tim S.
Manolo:
Hint: GNU GCC is for Linux. For Windows you must use a "GCC for Windows". Look for MinGW or MinGW-64 or TDM-GCC or some one else.
Navigation
[0] Message Index
[#] Next page
Go to full version