I am sorry if I was not supposed to post this here, but I have no idea where else to post this and this looked the most relevant.
My mate did a school programming task in pascal, while I did it in C#.
He wanted me to test his application and so I did, and to my surprise it ran fine without having to install any runtimes/redistributables!
Does the free pascal compiler compile to native/machine code just like C++, and not require any dependencies?
Just curious thanks : D
Xanather.
Pascal and compilation
Not sure which compiler you are talking about and it depends on compiler.
But usually a Pascal program is compiled to native standalone executable.
So you are correct.
But usually a Pascal program is compiled to native standalone executable.
So you are correct.
Some compilers embed the runtime into the executable (e.g. go and freepascal IIRC), so you can just run it. Pascal is a systems language, and it does compile to native code.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement