Solved

compiler/interpreter

Posted on 2000-04-15
6
398 Views
Last Modified: 2013-12-06
hello, is it true that redhat linux got built in compiler/interpreter ??? if so, does it got BASIC and also Pascal compiler, where should I (what command) to activate it (just like gcc / cc)
0
Comment
Question by:ahchong
6 Comments
 

Expert Comment

by:MHacker
ID: 2719883
The built in compiler you are talking about is gcc (C) I know it doesn't have a basic compiler, and i'm pretty sure it doesn't have a pascal compiler either.  Although I think i noticed a "Pascal to C" translating program in installation (called p2c) If that helps any :)
0
 
LVL 2

Expert Comment

by:fremsley
ID: 2722931
0
 

Accepted Solution

by:
gruse earned 30 total points
ID: 2726626
There's Free Pascal (available at http://www.freepascal.org/, RPMs at ftp://ftp.freepascal.org/fpc/dist/Linux/rpm/) as a Turbo Pascal/Object Pascal clone (very capable, as I have heard, but no first hand experience).

There are several BASIC interpreters and/or compilers to be found at freshmeat (http://freshmeat.net/). You can find XBasic (IDE, GUI builderm debugger) at http://www.maxreason.com/software/xbasic/xbasic.html 

Be careful with those links provided by fremsley, SuSE rpm packages may cause problems on Red Hat and vice versa because of differences in file system layout.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 2

Expert Comment

by:fremsley
ID: 2726679
> Be careful with those links provided by fremsley, SuSE rpm packages may cause problems on Red Hat and vice versa because of differences in file system layout.

Right, that may be a source of trouble. To be safe you can browse those rpm's with mc and install the files under /usr/local/ instead of the original path /usr/ Some programs may not work in a different path, but you will always be able to remove them again.

The source packages are under:

  ftp://ftp.suse.com/pub/suse/i386/current/suse/zq1/
0
 
LVL 3

Expert Comment

by:DVB
ID: 2727163
AFAIK, RH does ship with a basic interpreter. Saw it sometime, long ago on my system.
You will have to download the Pascal compiler, though I believe that gcc should have a plugin for that too. (gcc == GNU Compiler Collection, and I remember RMS saying something about Pascal, Lisp, C and C++)
0
 

Author Comment

by:ahchong
ID: 2854052
Comment accepted as answer
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 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