delorie.com/archives/browse.cgi | search |
From: | noah AT cloud9 DOT net (Noah Levenson) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Linking problem |
Date: | Wed, 08 Jan 1997 06:02:06 GMT |
Organization: | Cloud 9 Internet, White Plains, NY, USA |
Lines: | 18 |
Message-ID: | <5av2qk$apa@news.cloud9.net> |
Reply-To: | noah AT cloud9 DOT net |
NNTP-Posting-Host: | noah.dialup.cloud9.net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I want to comple the source file "ex15.c" to "ex15.exe". I use the following command line: gcc -O -o ex15.exe ex15.c -lliballeg liballeg.a is a library file in \lib but it gives me a "-lliballeg: no such file" error! If I do the following: gcc -O -o ex15.exe ex15.c c:\djgpp\lib\liballeg.a it works fine. Why can't I use the -l linking switch? Thanks. Noah Levenson noah AT cloud9 DOT net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |