Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!netserv2!deven From: deven@rpi.edu (Deven T. Corzine) Newsgroups: comp.sys.amiga.tech Subject: Re: does Lattice 5.04 BLINK have any built in size restrictions ? Message-ID: Date: 16 Mar 90 08:00:36 GMT References: <21930@watdragon.waterloo.edu> <22012@watdragon.waterloo.edu> Distribution: comp Organization: Rensselaer Polytechnic Institute, Troy, NY Lines: 40 In-Reply-To: grwalter@watfun.waterloo.edu's message of 15 Mar 90 15:07:01 GMT On 15 Mar 90 15:07:01 GMT, grwalter@watfun.waterloo.edu (Fred Walter) said: Fred> In article deven@rpi.edu (Deven T. Corzine) writes: >On 13 Mar 90 18:13:55 GMT, grwalter@watfun.waterloo.edu (Fred Walter) said: >> BLINK TO p2c FROM lib:cres.o trans.o stuff.o out.o >> comment.o lex.o dir.o parse1.o parse2.o parse3.o parse4.o >> decl1.o decl2.o decl3.o decl4.o decl5.o expr1.o expr2.o >> expr3.o expr4.o expr5.o pexpr1.o pexpr2.o pexpr3.o funcs1.o >> funcs2.o funcs3.o funcs4.o funcs5.o hpmods.o citmods.o >> LIBRARY lib:a.lib+lib:lc.lib NODEBUG >Try either linking with lib:amiga.lib also, or add the following line >to some module. (preferably, the one with main()) >struct DosLibrary *DOSBase; Fred> The problem was that the line was too long (there is some limit Fred> (256 bytes ?) in how long a string can be passed to Execute()) Fred> so the LIBRARY's weren't reached. Oh. [is lib:a.lib amiga.lib?] Anyway, yes, there is a limit; you can't have a command line longer than 255 bytes, since it is passed to the program as a pointer in A0 and a (byte-sized) length in D0. This doesn't seem to include the command name, but does include the trailing newline. You have several options. Use shorter filenames, or you can use Join to concantenate a bunch of the object modules, and put the resultant file in the lib section, before the first library, a.lib. This should work, so long as all the modules in the created library are referenced by whatever modules you put on the command line still. Good luck. Deven -- Deven T. Corzine Internet: deven@rpi.edu, shadow@pawl.rpi.edu Snail: 2151 12th St. Apt. 4, Troy, NY 12180 Phone: (518) 274-0327 Bitnet: deven@rpitsmts, userfxb6@rpitsmts UUCP: uunet!rpi!deven Simple things should be simple and complex things should be possible.