www.delorie.com/archives/browse.cgi | search |
From: | "Troelz Denver" <c938133 AT student DOT dtu DOT dk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Troubles linking into a library |
Date: | Wed, 25 Aug 1999 15:53:05 +0200 |
Organization: | UNI-C |
Lines: | 14 |
Message-ID: | <7q0sim$12iu$1@news.net.uni-c.dk> |
References: | <7q0a36$10c0$1 AT news DOT net DOT uni-c DOT dk> <7q0o93$ne5$1 AT antares DOT lu DOT erisoft DOT se> |
NNTP-Posting-Host: | pc97.iau.dtu.dk |
X-Trace: | news.net.uni-c.dk 935589270 35422 192.38.66.197 (25 Aug 1999 13:54:30 GMT) |
X-Complaints-To: | usenet AT news DOT net DOT uni-c DOT dk |
NNTP-Posting-Date: | 25 Aug 1999 13:54:30 GMT |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Thanx for your quick responce. Adding "-L." to the command doesn't have any effect. gcc have no problems finding the file. If I use "ar -crus libfileout.a file1 file2 file3; gcc file.c -lfileout.a", I get the response: "c:/djgpp/bin\ld.exe: cannot open -lfileout.a: No such file or directory (ENOENT)". I've tried other combinations "-llibfileout.a", "-libfileout.a", etc, but it can't find the file, unless I use "libfileout.a". And then it can't find the index. Back to problem 1.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |