another WIP plugin, while linking says this:
Code:
SAS/C Amiga Compiler 6.58
Copyright (c) 1988-1995 SAS Institute Inc.
Slink - Version 6.58
Copyright (c) 1988-1995 SAS Institute, Inc. All Rights Reserved.
Error 502: _malloc symbol - Distance for Reloc16 > 32768
First Reference in Unit vhud.c at offset 00000098 in file 'vhud.o'
To Unit malloc.o at offset 0000e558 in file 'LIB:sc.lib'
*** SMAKE: Error return from child process ***
there are 2x malloc in the src file (150kb)
Code:
line: 356: lw = malloc(sizeof(struct IFPLUGIN_TAG));
....
line: 3279: udata = malloc(sizeof(struct callback_TAG));
...
something is going to be too big? any idea?
#1) in the sasc manual, is a solution:
Code:
Compile the file with -code=far, or
declare the function with the __far keyword.
not sure how to do that, but i'll have a look.
#2) in SCOPTIONS file, add: CODE=FAR