linker scripts and link to bin?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
alexisoldroyd
Posts: 4
Joined: Wed Dec 10, 2008 8:34 pm

Re: linker scripts and link to bin?

Post by alexisoldroyd »

VisualAssist is pretty much a standard must have on VS, if your using VS chances are its with that awsome piece of code.

I assume your using VS? How do you have it setup to link your own format? I haven't found any straight forward information to setting VS up for making an os/kernel compilation.
tantrikwizard
Member
Member
Posts: 153
Joined: Sun Jan 07, 2007 9:40 am
Contact:

Re: linker scripts and link to bin?

Post by tantrikwizard »

I use Open Watcom http://wiki.osdev.org/Watcom with a linker script and prepend the binary with a small structure describing it. It's very simple and has some build restrictions but works fine.
Watcom works well with the VS IDE, it outputs error messages that work with VS's "jump to" feature, so you can double click compiler warning & errors and the IDE will jump to the line of code that caused it. I created custom build rules for wcl386 and jwasm so can set compiler parameters in the IDE as if using the MSVC compiler. It works great, I never have to leave the IDE.
Another IDE is UltraEdit Studio. UEStudio has built in configurations to work natively with many windows compilers. It takes some getting used to and is kinda flaky but is fully featured.
Post Reply