[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C in KCL
> %cc -c func.c
> %ld funl.o func.o -o fun.o
> KCL ......
> >(load "fun")
> And fl would call the C f function ....
> In the present version (530) I could only make it work with the
> "Clines" function, but I have some software that NEEDS the
> previous version.
> Does anybody know how can I do that ?
Compile the ".c" file as before.
Compile the ".lsp" file.
Don't do any catting of ".data" files.
Use (si:faslink "fun" "func.o -lc") instead of load.
Jeff Dalton, JANET: J.Dalton@uk.ac.ed
AI Applications Institute, ARPA: J.Daltonemail@example.com
Edinburgh University. UUCP: ...!ukc!ed.ac.uk!J.Dalton