March 4th, 2013, 09:33 AM
compiling pascal to object code
I am used to borland delphi and pascal but not used it for years, ( it will not run on my current system. Win7)
I now use lazarus and was horrified to discovwer I cannot compile to O code, I did a bit of searching and fopund many complicated solutions that I could not understand. I used to lecture in Compter Science, and always thought that would Lazarus does is called an interpreter. SO, how do I create object code that can be sent to someone whoo huast wishes to run the code without Lazarus etc?
Thanks And best wishes
Best is the enemy of good enough
Barrs law of recurcive futility:-
If you're smart enough to use one of these.....
.....you can probably manage without one
March 4th, 2013, 01:50 PM
Re: compiling pascal to object code
According to this
it should be possible to create fully compiled/linked binaries. See this http://wiki.lazarus.freepascal.org/Cross_compiling
The Lazarus IDE is a stable and feature rich visual programming environment for the FreePascal Compiler. It supports the creation of self-standing graphical and console applications and runs on Linux, FreeBSD, MacOSX and Windows.
Regarding the object code (or probably unit as Delphi calls them) have you read the documentation? There are quite a lot here
http://wiki.lazarus.freepascal.org/L...ion#Developing and for you this
http://wiki.lazarus.freepascal.org/L...r_Delphi_Users is probably a good Place to start
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.