PDA

View Full Version : free pascal basic setup



Colin
22-01-2010, 12:23 AM
hi there, just wondering peoples sugestions for a super lite/basic setup for free pascal.....

basically, an ide like notepad with syntax, no visual stuff.... also i'd like to have no pre-written units and so on.... btw whilst i'm at it does free pascal support record methods?

thanks,

Stoney
22-01-2010, 01:22 AM
Depending on your platform I would suggest:
Windows: Notepad++ / Komodo Edit
Linux: Geany / Komodo Edit
Mac OS: Smultron / Komodo Edit

You can use objects instead of records, objects are basically records with procedures/functions and objects are also created on the stack just like records (See: http://wiki.freepascal.org/Programming_Using_Objects)

Ñuño Martínez
22-01-2010, 08:18 AM
What a coincidence. Yesterday I planed to release my "project-template" (directories, scripts and other files); this way just copy the directory tree and content, change the content of two variables inside the makefile et voilá, it is able to auto-create dependencies and compile in Linux and Windows. :yes: I hope I can upload the package today. Done (http://www.burdjia.com/proyecto/versiones.php?proyecto=makeproject). 8)

Now, I do the hard work on Linux (Xubuntu) because I find it's more stable and if I corrupt the memory it recovers itself easer than Windows. To edit sources I use GVim (http://www.vim.org/) in most cases. Some times I use Lazarus (http://www.Lazarus.freepascal.org) but only if I need GUI. To build the executables I use GNU's makefile. I use PasDoc (http://pasdoc.sipsolutions.net/) when I need to create documentation.

Once it works in Linux I test it in Windows in my old IBM. Then I pack it using tar+gzip and/or 7-zip (http://www.7-zip.org/) and upload it to my web-site (I have my own download manager (http://www.burdjia.com/proyecto) 8)) or SourceForge (http://sourceforge.net/) using FileZilla (http://filezilla-project.org/).