delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/20/02:15:35

Newsgroups: comp.os.msdos.djgpp
From: matt v <mvan AT ravine DOT binary DOT net>
Subject: libraries & compiling
Message-ID: <Pine.BSF.3.96.981020002702.26098A-100000@ravine.binary.net>
MIME-Version: 1.0
Lines: 13
Date: Tue, 20 Oct 1998 00:39:41 -0500
NNTP-Posting-Host: 12.13.120.8
X-Trace: news.giganews.com 908861987 12.13.120.8 (Tue, 20 Oct 1998 00:39:47 CDT)
NNTP-Posting-Date: Tue, 20 Oct 1998 00:39:47 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I can not figure out how a person is supposed to link a program with a
library file when compiling.  
for an example: I am experimenting with  the files in bcsio20?.zip
I just want  to compile it the way its supposed to be.  I have this as my
command line 
gcc term.c -o term.exe -djgpp.djl

the only result I get is that gcc gives an error like this
ld.exe: -djgpp.djl no such file or directory (enoent)
what am i doing wrong?
thanks in advance


- Raw text -


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