Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!NIHCU.BITNET!JDA From: JDA@NIHCU.BITNET (Doug Ashbrook) Newsgroups: comp.sys.apple Subject: Re: Problem with TML Pascal Message-ID: <8906271427.aa04097@SMOKE.BRL.MIL> Date: 27 Jun 89 15:42:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 42 > Earlier, I posted this message: > > >I'm having a problem with TML Pascal that I *hope* someone can help me > >with. I've written a fairly long program (~90 K by now) with quite a few > >units (don't know if this is relevant to my problem or not) and everything > >has worked fine until a day ago. When I try to compile the main program to > >disk, the compiling and linking goes fine but then at the end it gives me > >the error dialog, "Error in writing to application file" (it compiles to > >memory fine). So this is kind of scary, since if I can't get it to compile to > >disk I don't have a program. I've tried things like transfering files to > >another disk and recompiling to that disk, but the same thing happens. As > >I said, this process *used* to work fine, but now...? I can't think of > >anything I did that would do it. > > > Well, no one has responded to my article but I'm still having the same problem . > I did some further testing, however, and when I comment out a big chunk > of code the program compiles to disk fine! So it would appear that the program > is too big to be compiled to disk. 90K too big? Has anyone had this problem > themselves? Please--any suggestions would be appreciated. After all, I > do want to be able to make my program executable. I have written a program in TML Pascal (1.2A of the integrated version) that is broken into 8 (or more) UNITs and results in a .SYS16 file that is about 176 blocks long. I too have had problems with the linker, but mine seem to be different. I find that I must "compact memory" before beginning the compile and then re-compile all UNITs (even if only some of them have changed). When I do this, the program links successfully. I would strongly suggest that you copy your source files to a disk and mail it to TML Systems with a note explaining your problem. They seem to still have some bugs in the linker. ==================================================================== J. Douglas Ashbrook (301) 496-5181 BITNET: JDA@NIHCU <-- preferred address INTERNET: JDA@CU.NIH.GOV or jda%nihcu.bitnet@cunyvm.cuny.edu National Institutes of Health, Computer Center, Bethesda, MD 20892 -+- Remember. If some weirdo in a blue suit offers you some MS-DOS, JUST SAY NO!