Howto make an .exe from a .pas

Posted on 2003-10-21
Last Modified: 2010-04-16
If for example i need to make an .exe from a program that i wrote (.pas)
how should i proceed ?
Question by:Louis_DePage

Accepted Solution

MannSoft earned 20 total points
ID: 9592555
Compile and link it.

What did you use to write the .pas file?

Author Comment

ID: 9592603
i use turbo pascal 5.5

Expert Comment

ID: 9592635
If it's the same as TP7, just hit F9 and that should compile it.  You should probably take a look at some of the help files before you go much further.  Learning how to properly use the IDE before trying to use it is always a good idea.
LVL 11

Expert Comment

ID: 9593143
As MannSoft says, F9 compiles. To make an exe (rather than have the pascal program run inside the TP environment), you have to set the target of the compilation to disk. This option is found under Compile | Destination. Selecting it will toggle between Memory (runs inside the IDE) and Disk (compiles "somthing.pas" into "something.exe").


Expert Comment

ID: 9597484
in Dev-Pas just press on the compile button, the program will compile your code and afterwards link it to the exe file.
in tubo pascal you have to do that in seperate steps.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ROUND() from fbudf.dll only gives integers 2 1,045
Consuming Server Sent Event (DOM events) in Delphi 1 755
Youtube stream inside Delphi 1 1,482
How to use WebDispatcher to retrieve data 3 397
Fine Tune your automatic Updates for Ubuntu / Debian
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now