Path: utzoo!attcan!uunet!ogicse!uwm.edu!cs.utexas.edu!rutgers!mcnc!rti!sas!walker From: walker@sas.UUCP (Doug Walker) Newsgroups: comp.sys.amiga.tech Subject: Re: does Lattice 5.04 BLINK have any bu Message-ID: <1631@sas.UUCP> Date: 20 Mar 90 16:04:58 GMT References: <21930@watdragon.waterloo.edu> <387100014@ENG.Prime.COM> Reply-To: walker@sas.UUCP (Doug Walker) Organization: SAS Institute Inc, Cary NC Lines: 50 In article <387100014@ENG.Prime.COM> GARYM@ENG.Prime.COM writes: >>Background: I'm porting p2c (a fairly good pascal-to-c converter) to the >>Amiga. Everything compiles properly, but when I blink, this is what happens : > > > >>Blink - Version 5.04 >>Copyright (c) 1988 Lattice, Inc. All Rights Reserved. > >>Undefined symbols First Referenced >>------------------------ ---------------- >>_DOSBase File 'lib:cres.o' >>Enter a DEFINE value for _DOSBase (default _stub): > >>I have another question : is there anyway to get Lattice to successfully >>compile very large source files (that produce objects of size >32K) ? >>The p2c source had several like this (I broke them up so they'd compile) that >>generated warnings. > >>Advance Thanx, >>fred > Looks as though yor missing the "c.o" library in you load path. He doesn't need c.o, he has cres.o. cres.o replaces c.o. > That should do it. _DOSbase is just a basic C library macro (I believe!?). _DOSbase is not a macro. How could you link a macro into your program? I agree with the earlier poster who suggested using a WITH file to shorten the command line, which is limited to 256 in LMK. I use the following: foo: $(FOOOBJS) echo "Linking FOO..." blink with << $(FOOOBJS) lib lib:lc.lib lib:amiga.lib ...whatever other options you want... < This creates a temporary file with the BLINK options in it, and executes BLINK with the temp file as a WITH file. ***** =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)382-8265 = *|. o.| || NOTE NEW BBS NUMBER!^^^^^^^^ | o |// Got mole problems? Call Avogadro: 602-1023! ====== usenet: ...mcnc!rti!sas!walker plink: dwalker bix: djwalker