LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2005, 04:04 PM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
pascal program


anyone knows a good pascal program that i can run on my slackware, i found this http://linux.softpedia.com/progDownl...nload-121.html if you know anyother compilers please add it here.

Thanks
 
Old 08-29-2005, 04:18 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
That's the most popular one and the best one. I used it (5 years ago) and it was OK. You can also try Kylix (but it's less traditional).
 
Old 08-29-2005, 04:22 PM   #3
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
thanks mara am on the progress of downloading it, i will go for it.
 
Old 08-30-2005, 07:41 AM   #4
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
I was able to compile my programs with fpc pro.pas but I am still having difficulties getting the output, any suggestions.
 
Old 08-30-2005, 08:04 AM   #5
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
fpc is pretty fair considering the length of time they have put in it. The speed is excellent. I use it on and off without any problems. Currently, the libs are static links, but they are working dymanic links. What is your writeln statement like?

Here's some site that may of interest to you.
http://www.freepascal.org/
http://berlin.freepascal.org:10000/bboards/
http://www.lazarus.freepascal.org/
http://www.lazarus.freepascal.org/mo...BB2&file=index
Many more links in those sites.

There's also;
http://www.gnu-pascal.de/gpc/h-index.html
 
Old 08-30-2005, 09:20 AM   #6
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30

this is what i get
Code:
moderator@linux:~/C++$ fpc pascal.pas
Free Pascal Compiler version 1.9.8 [2005/02/20] for i386
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Linux for i386
Compiling pascal.pas
Linking pascal
20 Lines compiled, 0.8 sec
moderator@linux:~/C++$
What I need is the input and output?

Last edited by amer_58; 08-30-2005 at 10:07 AM.
 
Old 08-30-2005, 09:43 AM   #7
DarkstarNL
LQ Newbie
 
Registered: Oct 2003
Location: The Netherlands
Distribution: Debian Sarge
Posts: 22

Rep: Reputation: 15
just just compiled you program.. the next step is running it

try ./pascal in the dir where you compiled it
 
Old 08-30-2005, 09:55 AM   #8
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
oh thanks DarkstarNL
 
Old 08-30-2005, 01:56 PM   #9
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Sounds like you're from the p-code interpreter age..... waaayyy back there.

DarkstarNL gave you a hint that FPC is pure binary. No interpreter needed.

btw; Most, if not all of Borland's Delphi/Pascal books apply to FPC. See more releated info on the sites I listed. Most of those guys hang out at irc #fpc.

Have fun....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone help me with Pascal? randyriver10 Programming 2 09-29-2005 05:09 PM
How to run pascal program in Linux? zWaR Programming 5 02-04-2004 03:52 AM
Pascal, and GTK Gerardoj Linux - General 1 09-23-2003 10:34 PM
GUI pascal nivek Programming 1 03-11-2003 09:13 PM
Pascal XSC tapu90 Linux - Software 0 11-14-2002 03:02 PM


All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration