Forum > FV/Textmode IDE

FPC Compiler

(1/6) > >>

peter-1:
i despair How can I switch from memory to disc when compiling. the compilation works and there is no error message, but i don't get any save to disc.

marcov:
Free Pascal has no compiled to memory option. You must be confused about some other product.

Martin_fr:

--- Quote from: peter-1 on January 30, 2022, 03:55:33 pm ---i despair How can I switch from memory to disc when compiling. the compilation works and there is no error message, but i don't get any save to disc.

--- End quote ---

Are you using "Lazarus IDE"?

"Lazarus IDE" will save to a temporary directory, if you compile or run.

Normally, this is  C:\Users\YOUR_USER_NAME\AppData\Local\Temp\
And some files in  C:\Users\YOUR_USER_NAME\AppData\Local\Temp\lib

The executable C:\Users\YOUR_USER_NAME\AppData\Local\Temp\project1.exe

You should save your project first. 
You should save to a new, empty folder.
Use menu "Project" > "Save Project as"

After you have saved the project => The executable (project_name.exe) will be in that folder. The folder in which you saved the project.

peter-1:
thanks, but where do I have to enter the target folder?

Martin_fr:
When you do "Save project as" you get a normal "save dialog".  (like when you save a text in normal editor or office)

You can select the folder in that dialog.

Navigation

[0] Message Index

[#] Next page

Go to full version