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.
Yes, I have decided to do a basic OS in Pascal. I have been using Bloodshed's Pascal IDE to make my exe's do far, but now making an OS I need to compile stuff to .bin's.
Bloodshed's Pascal IDE came with the command-line GPC compiler, but when I come to use it, it always gives me this error:
I'm guessing gpc is a driver executable, just like gcc, which actually calls other executables to perform whatever task is asked for (be it compiling, linking, etc).
As such, the bloodshed IDE probably ensures that these executables are in the path before executing gpc, and I'd image you have to do the same.
I'd suggest search for this executable
dir gpcpp.exe /s
And add whatever directory it's in, to the path, and then retry.
fbelzile wrote:
....
Also, when making an OS with Pascal do I write it any differently from making just an ordinary exe.
there is nothing different in coding style, but u must have in mind that you dont have any library, i m not sure about pascal but if it is like C you have to write youre own "write()/writeln()" functions for example.
-----------------------
There are 10 types of people in this world... those that understand binary, and those that don't.