How to configure RHIDE to use fpc!

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
Amir Aavani
New poster
Posts: 30
Joined: Wed Oct 23, 2002 6:53 am

How to configure RHIDE to use fpc!

Post by Amir Aavani » Tue Jun 01, 2004 8:00 am

hi to all pascal lover!
I looking for an IDE in linux to compile and and debug my pacal programs. I searched a lot but I can't find anything usefull except one IDE in FreePascal home page. but I can't compile it because it needs to a unit that isn't available for public.

After sometime I found RhIDE can compile pascal programs, too. but unfortunately it needs GNU Pacal (gpc) not fpc.
I try to install gpc on my system but i can't.

Is there any one who use RHIDE for pascal?
Is there any one who use gpc in linux?
please help me.

User avatar
little joey
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post by little joey » Tue Jun 01, 2004 2:29 pm

I should strongly advise against gpc because it is too incompatible with fpc which the judge uses. When the judge switched from gpc to fpc some time ago, I had to rewrite and resubmit about 70% of my solutions!

Fpc is the comipler of choice, but you're right, it doesn't have a decent IDE. (I tried the Windoze/Dos version once, but it sux). I guess the only option is to develop your programs without an IDE, just using a text editor and the shell, temporarily putting your own debug statements into the code.

It can be quite frustrating at first if you can't rely on a debugger, but IMHO it makes you a lot sharper and a better coder, because you start anticipating your own errors. I solved about 900 problems with fpc and without a debugger or an IDE, so I guess it's do-able. Now that I switched to C, I still do it this way, just out of habit...

Post Reply

Return to “Pascal”