For a long time, I was curious about using GNU toolchain on Windows platforms, especially when boils down to kernel-mode driver development. I like GNU toolchain (binutils, gcc, libstdc++). I use for embedded development, but compiling, and especially linking binaries with GNU ld linker, has always been tricky. Why is it important? Microsoft Visual Studio is an exellent tool, but it kind of obscure what is happening behind the scenes. Having free and opensource software toolchain even on a proprietary platform is a goodthing.

This time, it took me a while to figure out how to link a trivial kernel-mode driver, and this brief post is to document these findings.

Compiling GCC from souces for the mingw-w64 target is a topic for a different post (binutils is easy though). So for…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help