Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!gordon From: gordon@sugar.hackercorp.com (Gordon Neissen) Newsgroups: comp.sys.amiga.tech Subject: SAS/C 5.10 and amiga.lib - Help! Keywords: SAS C amiga.lib LIBRARIES Message-ID: <6697@sugar.hackercorp.com> Date: 3 Oct 90 14:01:47 GMT Organization: Sugar Land Unix - Houston Lines: 24 I am trying to write some routines in C to be called from basic and am having problems with compiling a few small tests. The only example I have to work with is as follows: /* add.c */ void main( Result, x, y ) short *Result, x, y; { *Result = x + y; } And this works compiled with SAS/C 5.10 using the commands: lc -v add blink add.o to add LIB amiga.lib, lc.lib But when I tried to change it to work with float it fails to link. I get an error: "unable to find library amiga.lib". I get the same thing when trying to play with strings. -- | Gordon Niessen | My opinions are none of your business. | | gordon@sugar.hackercorp.com | "Never underestimate a users stupidity" | \-------------------------------------------------------------------------/