www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/31/15:47:31

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
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: <efecct4356kc14b31b1nol05jrva6jqlsi@4ax.com>
References: <Pine DOT LNX DOT 4 DOT 04 DOT 10103302036330 DOT 7721-100000 AT matrix DOT reccal DOT ernet DOT in> <3ac57edc$1 AT newsgate DOT hknet DOT com>
NNTP-Posting-Host: modem-174.california.dialup.pol.co.uk
Mime-Version: 1.0
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" <chiumac AT yahoo DOT com DOT hk> 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\

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019