janc@p.tvt.se (Jan Carlsson) (05/07/91)
I have a TP5.0 TURBO.TPL with several library units that I need too use. The problem is that my compiler is version 6.0. The compiler dosen't like this file so my question is: Is there any possibility to change the .TPL file to make it usable with the 6.0 compiler ? ------------------------------------------------------------------------------ Jan Carlsson Swedish Telecom fax: +46 8 713 4014 Section for R&D phone: +46 8 713 4314 room V67:45 e-mail: janc@telerand.p.tvt.se S-123 86 Farsta SWEDEN ------------------------------------------------------------------------------
granoff@vaxwrk.enet.dec.com (Mark H. Granoff) (05/08/91)
In article <janc.673591221@telerand>, janc@p.tvt.se (Jan Carlsson) writes: > >I have a TP5.0 TURBO.TPL with several library units that I need too use. >The problem is that my compiler is version 6.0. The compiler dosen't like >this file so my question is: Is there any possibility to change the .TPL >file to make it usable with the 6.0 compiler ? Nope. Your problem stems from the fact that units compiled under any version of Turbo Pascal are incompatible with any other version of the Turbo Pascal compiler. In other words, units compiled under TP5.5 can not be used with TP6.0. At the inroduction of TP6.0 in Boston, during a question and answer period, I asked Borland if they ever planned to have any kind of backward compatibility for compiled units. They said, "No." --------------------------------------------------------------------------- Mark H. Granoff | Enterprise Integration Services/Engineering VAXworks --------------------------------------------------------------------------- Digital Equipment Corporation | Internet: granoff@vaxwrk.enet.dec.com 129 Parker Street | Usenet : ...!decwrl!vaxwrk.enet!granoff PKO2-1/M21 | AT&T : +1 508 493 4512 Maynard, MA 01754 | FAX : +1 508 493 2240 --------------------------------------------------------------------------- Opinions herein are my own and do not necessarily reflect those of Digital. ---------------------------------------------------------------------------
nmouawad@watmath.waterloo.edu (Naji Mouawad) (05/08/91)
In article <1991May8.124525.11539@e2big.mko.dec.com> granoff@vaxwrk.enet.dec.com (Mark H. Granoff) writes: >In article <janc.673591221@telerand>, janc@p.tvt.se (Jan Carlsson) writes: >> >>I have a TP5.0 TURBO.TPL with several library units that I need too use. >>The problem is that my compiler is version 6.0. The compiler dosen't like >>this file so my question is: Is there any possibility to change the .TPL >>file to make it usable with the 6.0 compiler ? > >Nope. Your problem stems from the fact that units compiled under any version >of Turbo Pascal are incompatible with any other version of the Turbo Pascal >compiler. In other words, units compiled under TP5.5 can not be used with >TP6.0. > >At the inroduction of TP6.0 in Boston, during a question and answer period, I >asked Borland if they ever planned to have any kind of backward compatibility >for compiled units. They said, "No." > while the absence of backward compatibility is something of a nuisance, I can live with it as long as TP is moving onward towards making our life as programmers easier. I don't want TP to become a standard ! Look how hard it is to move standards ! I like the fluidity of the various changes and I am expecting more... After dabbling for a while with Turbo Vision, I sens that this is but the begining of the story. I expect the next version of TV to be somewhat incompatible with the current one. And I am prepared to live with it as long as the changes are worth it. My feeling is that Turbo Vision is nothing more but a gentle introduction to concurrent (or if you like Multi-tasking) processes. The idle handler is rudimentary, yet this kind of environment begs for concurent processing and I feel that that is where we are heading. The way TP is growing makes me think of a sphere: growing uniformely in various directions: modules, objects, assembler, event-handling ... concurency seems to be one of the next steps. After all, TP *is* moving quickly, and we had better get used to these annual changes. Nobody said that driving a car was intuitive. --Naji. -- ------------------------------------------------------------------- | Naji Mouawad | nmouawad@watmath.waterloo.edu | | University |---------------------------------------------------| | Of Waterloo | "The Stranger in us is our most familiar Self" |
dmurdoch@watstat.waterloo.edu (Duncan Murdoch) (05/08/91)
In article <1991May8.124525.11539@e2big.mko.dec.com> granoff@vaxwrk.enet.dec.com (Mark H. Granoff) writes: > >At the inroduction of TP6.0 in Boston, during a question and answer period, I >asked Borland if they ever planned to have any kind of backward compatibility >for compiled units. They said, "No." They do have a kind of backward compatibility: TP 6.0 units and TPW 1.0 units have an identical format. Unfortunately, it's a useless kind of compatibility. Because TP 6.0 units are partially linked to the TP 6.0 System unit, and TPW 1.0 units are partially linked to the TPW 1.0 System unit, and there's no way to unlink or relink them, they are for all practical purposes incompatible. Duncan Murdoch dmurdoch@watstat.waterloo.edu
granoff@vaxwrk.enet.dec.com (Mark H. Granoff) (05/09/91)
In article <1991May8.155003.18517@maytag.waterloo.edu>, dmurdoch@watstat.waterloo.edu (Duncan Murdoch) writes: > >Because TP 6.0 units are partially linked to the TP 6.0 System unit, ... Yes! And there is the true root of the problem. If the System unit changes, all units depending on that unit must be recompiled, Borland-supplied or otherwise. Since the System unit *always* changes between versions, there is no compatibility between units compiled under different versions of the compiler. This is the actual reason why Borland said, "No [there won't be backward compatibilty]." Under the circumstances, it would be quite difficult. I think this horse is dead now... :-) --------------------------------------------------------------------------- Mark H. Granoff | Enterprise Integration Services/Engineering VAXworks --------------------------------------------------------------------------- Digital Equipment Corporation | Internet: granoff@vaxwrk.enet.dec.com 129 Parker Street | Usenet : ...!decwrl!vaxwrk.enet!granoff PKO2-1/M21 | AT&T : +1 508 493 4512 Maynard, MA 01754 | FAX : +1 508 493 2240 --------------------------------------------------------------------------- Opinions herein are my own and do not necessarily reflect those of Digital. ---------------------------------------------------------------------------
hoffmann@infopls.chi.il.us (Robert Hoffmann) (05/10/91)
janc@p.tvt.se (Jan Carlsson) writes: > I have a TP5.0 TURBO.TPL with several library units that I need too use. > The problem is that my compiler is version 6.0. The compiler dosen't like > this file so my question is: Is there any possibility to change the .TPL > file to make it usable with the 6.0 compiler ? Unfortunately, the only way to do that is by recompiling the source code for the TP5 units that you want to port to TP6. Borland has never made it possible to directly convert TP5.x units to TP6 without the source code. Rob --------------------------------- hoffmann@infopls.chi.il.us