From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: help for using svas011b.zip Date: Sat, 31 Mar 2001 21:34:56 +0100 Lines: 32 Message-ID: References: <3ac57edc$1 AT newsgate DOT hknet DOT com> NNTP-Posting-Host: modem-174.california.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg4.svr.pol.co.uk 986070859 17710 62.137.56.174 (31 Mar 2001 20:34:19 GMT) NNTP-Posting-Date: 31 Mar 2001 20:34:19 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "chiumac" wrote: > C:\djgpp\author\CONTRIB\SVASYNC>gcc term.c -o term.exe -lsv This is the correct command line (you don't need -lpc like is used in the makefile), but it is wise to add -Wall there too. > c:/djgpp/bin/ld.exe: cannot open -lsv: No such file or directory (ENOENT) > > Why is that? Do I miss something? Yep, you missed the instructions for building and installing the library from source. Curiously, those instructions do not seem to exist! :-/ Also curious is why this library has the suffix 'b'? Anyhow, to build and install svasync: cd to the directory where you unzipped the files to (there are 7 files in total), run make, and then copy the header and library into the djgpp tree. C:\>cd \djgpp\contrib\svasync C:\djgpp\contrib\SVASYNC>make gcc -O3 -Wall -g -c svasync.c gcc -O3 -Wall -g -c isr.S ar -rs libsv.a svasync.o isr.o gcc -O3 -Wall -g -c term.c gcc -O3 -Wall -g term.o libsv.a -o term -lpc C:\djgpp\contrib\SVASYNC>cp svasync.h \djgpp\include\ C:\djgpp\contrib\SVASYNC>cp libsv.a \djgpp\lib\