[comp.sys.amiga.tech] BLINK size limit question

ZZFRICK@DHVRRZN1.BITNET (03/14/90)

Date: 14 March 1990, 16:36:48 MEZ
From: Harald Fricke             05 11/790-20 25      ZZFRICK  at DHVRRZN1
To:   COMP-SYS-AMIGA-TECH at UCBVAX.BERKELEY.EDU

From my experiences with porting f2c I can say that if a size limit exists,
it must be somewhere beyond 1Meg. Btw, OML has rather low size limits.
Note that there is a limit of around 250 chars that a CLI command line can
have (even from LMK!). The command line that you gave in your posting is
surely longer than that. Maybe the command got truncated, discarding the
LIB statents at the end. (Just thinking of the problems that I encountered..).
On large projects you should use the -r0 and -b0 compiler switches to get
absolute jumps and data references (refer to the documentation of LC in the
commands section of the first manual). I don't think that I had any modules
larger than 32k, so I can't say anything more about this.

Just talking of Lattice 5.04, did anybody else have problems with the strcpy()
function from LCNB.LIB ? It is documented to return a pointer to the
destination string, but returns a pointer to the source. It costed me more
than 15 hours to find that out! I'm using the built-in strcpy now (after
correcting the prototypes in string.h that defined all string functions as
void * instead of char *).