Can someone please clarify the "parentage" of the Pascals (plural) available under Linux.
There seem to be two distinct ones. There is gpc, the subject of this list, and a seemingly distinct route via p2c and the gcc "C" compiler.
Am I confused ? Are they really separate, and why (if true) are there two rival Pascals. How do they differ ? Are they both Gnu ?
I would imagine that the adherents of this list prefer gpc :)
Which of them is the easiest to provide with a TP7.0 style Graph Unit ?
TIA Best regards.
On Wed, Apr 04, 2001 at 03:03:55PM +0100, Geoff Bagley wrote:
Can someone please clarify the "parentage" of the Pascals (plural) available under Linux. There seem to be two distinct ones. There is gpc, the subject of this list, and a seemingly distinct route via p2c and the gcc "C" compiler.
- p2c is just a kind of filter. You process your pascal sources through p2c and get some C files which you can process with gcc. - gpc is a Pascal compiler. It is based on the top of gcc, a C compiler, but you do not see anything of C.
Am I confused ? Are they really separate, and why (if true) are there two rival Pascals. How do they differ ? Are they both Gnu ? I would imagine that the adherents of this list prefer gpc :) Which of them is the easiest to provide with a TP7.0 style Graph Unit ?
GPC is the GnuPascalCompiler. If you want to use Pascal just use this one :-)
Try this out:
test.pas: ------------------- program hello; begin writeln('hello geoff bagley') end. -------------------
process this source with gpc test.pas -o myprog and run myprog afterwards.
Eike
On 4 Apr 2001, at 15:03, Geoff Bagley wrote:
Can someone please clarify the "parentage" of the Pascals
(plural)
available under Linux.
There seem to be two distinct ones. There is gpc, the subject of
this
list, and a seemingly distinct route via p2c and the gcc "C"
compiler.
Am I confused ? Are they really separate, and why (if true) are
there
two rival Pascals. How do they differ ? Are they both Gnu ?
There are even more than these. There is also
FPK: http://www.freepascal.org/ which is written in itself
and
Kylix: http://www.borland.com/kylix/
which is Delphi for (Intel-)-Linux
Best Regards - Mit freundlichen Gruessen,
Andreas Prucha helicon software development
list, and a seemingly distinct route via p2c and the gcc "C"
compiler.
Am I confused ? Are they really separate, and why (if true) are
there
two rival Pascals. How do they differ ? Are they both Gnu ?
There are even more than these. There is also
FPK: http://www.freepascal.org/ which is written in itself
This one also has a Graph. (based on svgalib, seems to work on FreeBSD too)
and
Kylix: http://www.borland.com/kylix/
which is Delphi for (Intel-)-Linux
Besides this, also Virtual Pascal has some way to generate Linux binaries IIRC, but that is more a hack. (www.vpascal.com lists it as experimental)
On Wed, 4 Apr 2001, Geoff Bagley wrote:
Can someone please clarify the "parentage" of the Pascals (plural) available under Linux.
There seem to be two distinct ones. There is gpc, the subject of this list, and a seemingly distinct route via p2c and the gcc "C" compiler.
Am I confused ? Are they really separate, and why (if true) are there two rival Pascals. How do they differ ? Are they both Gnu ?
I don't know about p2c.
But there's is a third, completely separate one: FPC http://www.freepascal.org
In general FPC has better compatibility with Turbo Pascal. I know FPC has a good graph implementation.
In general FPC is more stable (if you use version 1.04/1.05) than gpc, and development on it is very heavy.
FPC is also a lot faster, but not available on all unix systems, as gpc is. But FPC has almost all features of Delphi, there's even a project called Lazarus developing a VCL like library and IDE.
Johan
johanblok@ix.nl wrote:
On Wed, 4 Apr 2001, Geoff Bagley wrote:
Can someone please clarify the "parentage" of the Pascals (plural) available under Linux.
There seem to be two distinct ones. There is gpc, the subject of this list, and a seemingly distinct route via p2c and the gcc "C" compiler.
Am I confused ? Are they really separate, and why (if true) are there two rival Pascals. How do they differ ? Are they both Gnu ?
I don't know about p2c.
But there's is a third, completely separate one: FPC http://www.freepascal.org
In general FPC has better compatibility with Turbo Pascal. I know FPC has a good graph implementation.
In general FPC is more stable (if you use version 1.04/1.05) than gpc, and development on it is very heavy.
FPC is also a lot faster,
faster for what ? For compilation time I agree, for execution time it is typically 30 to 80 % slower (for djgpp and mingw32 implementations I am able to check). And of course these difference are not unrelated.
but not available on all unix systems, as gpc
is. But FPC has almost all features of Delphi, there's even a project called Lazarus developing a VCL like library and IDE.
Johan
Hi Folks,
johanblok@ix.nl wrote:
But there's is a third, completely separate one: FPC In general FPC has better compatibility with Turbo Pascal. I know FPC has a good graph implementation. In general FPC is more stable (if you use version 1.04/1.05) than gpc, and development on it is very heavy. FPC is also a lot faster,
I'm very concerned about this topic. Whenever I ask anything to the list, someone from fpc sends me private emails about things not really related to my question but with a hint to fpc.
*** I'm not interested in fpc! ***
And I don't want to read anything about a comparison between GPC and fpc. Furthermore I don't want to join the fpc team and I don't want to read any advertisings about this so called compiler.
'nuff said!
Eike