Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Pascal and compilation

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 Xanather   Members   

782
Like
0Likes
Like

Posted 27 September 2012 - 03:13 AM

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.

#2 wqking   Members   

761
Like
0Likes
Like

Posted 27 September 2012 - 03:33 AM

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.

http://www.cpgf.org/
cpgf library -- free C++ open source library for reflection, serialization, script binding, callbacks, and meta data for OpenGL Box2D, SFML and Irrlicht.
v1.5.5 was released. Now supports tween and timeline for ease animation.


#3 dilyan_rusev   Members   

1360
Like
0Likes
Like

Posted 27 September 2012 - 05:05 AM

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.

#4 Xanather   Members   

782
Like
0Likes
Like

Posted 27 September 2012 - 05:18 AM

Thats cool, thanks : D




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.