Re: [fpc-other] How was compiled the very first version of FPC?
On 2017-01-12 09:26, Lukasz Sokol wrote: > > https://xkcd.com/378/ ROFL - some of those xkcd comic strips are brilliant! Regards, Graeme ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How was compiled the very first version of FPC?
On Wed, January 11, 2017 1:29 pm, I previously wrote: >> 1) FPC has always existed, it was just created at the Big Bang, at the >> same time as the hydrogen atoms. >> > > This very question was asked many years ago, maybe by myself, when I was > first learning FPC. > http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg04073.html > We got in to discussions about the origin of the universe itself, and > Florian K. ended up saying something about physical bit switches being > used to program a system which has no software on it yet... > > But I could be distorting the discussion slightly ;-) > > > If I could find the old posts from maybe 2004-2006 era I would.. http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg04118.html Ehhh... ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How was compiled the very first version of FPC?
On Tue, January 10, 2017 4:02 pm, Ralf Quint wrote: > On 1/10/2017 1:31 PM, gabor wrote: > >> http://turbopascal.org/ >> I think it's not borland's turbo pascal >> >> > No, it's not, it's the site of a Russian guy who says he reverse > engineered Turbo Pascal 7 and sells the source code for that (called TPC16, > there's also a 32bit version compiled with Delphi). > > This site is around for years, so if something would be way out of whack > on how he got the source code, I am pretty sure > Borland/Inprise/Codegear/Embarcadero would have gotten on his case a > long time ago. > Well, the uncommented assembly code source of Turbo Pascal was in fact leaked on torrent or emule ... but whether he saw this source I don't know... But I know it was indeed leaked. ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How was compiled the very first version of FPC?
On Tue, January 10, 2017 1:59 pm, Travis Siegel wrote: > >> And ultimately I think that TP was written in Z80 assembler, later >> converted to 8086. >> > Actually, I don't know about versions pre 4.0), but source code versions > of tp 6 have escaped into the wild, and if you can locate one of those, > you'll see turbo pascal is written in turbo pascal as well. There's > assembly language for some routines to speed up certain parts of the code, > but in general, it's mostly pascal code. Maybe in the later days but Turbo Pascal originally was written in, AFAIK, 100 percent assembly code, with not a single source comment... Anders was very secretive about his code as he didn't want people to steal it and protected it closely In the later (or latter) days, Borland decided that assembly code was not so easy to maintain... I thought they made this decision in delphi days, but maybe they made in at some point in Turbo Pascal days and converted some of Anders assembly to turbo pascal. ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How was compiled the very first version of FPC?
On 1/10/2017 1:31 PM, gabor wrote: http://turbopascal.org/ I think it's not borland's turbo pascal No, it's not, it's the site of a Russian guy who says he reverse engineered Turbo Pascal 7 and sells the source code for that (called TPC16, there's also a 32bit version compiled with Delphi). This site is around for years, so if something would be way out of whack on how he got the source code, I am pretty sure Borland/Inprise/Codegear/Embarcadero would have gotten on his case a long time ago. Ralf --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How was compiled the very first version of FPC?
And ultimately I think that TP was written in Z80 assembler, later converted to 8086. Actually, I don't know about versions pre 4.0), but source code versions of tp 6 have escaped into the wild, and if you can locate one of those, you'll see turbo pascal is written in turbo pascal as well. There's assembly language for some routines to speed up certain parts of the code, but in general, it's mostly pascal code. Interesting, but I never did look at the code itself, since I didn't have the tools required to compile it, so it never interested me. Of course, I haven't a clue where you'd find such a thing these days, last time I saw it was about 10 years ago, on some chineese site, so who knows. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other
Re: [fpc-other] How was compiled the very first version of FPC?
On 09/01/17 20:30, Karoly Balogh (Charlie/SGR) wrote: Hi, On Mon, 9 Jan 2017, Giuliano Colla wrote: While installing FPC on a new platform, and looking for the appropriate seed compiler, a question came to my mind. As compiling FPC from sources requires a previous FPC version, how was compiled the very first version of FPC? The point 4. is correct. The first version was done in Turbo Pascal, then eventually the compiler became able to compile itself. Until 1.0(?) I think it was still possible to build the compiler with TP7. Later the TP7 compatibility was dropped, and since then FPC is only developed in itself. It's written on Wikipedia BTW: https://en.wikipedia.org/wiki/Free_Pascal#Early_years And ultimately I think that TP was written in Z80 assembler, later converted to 8086. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other