cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/14/02:22:28

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: PDCurses problem.
Date: Thu, 13 Feb 1997 23:17:00 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 20
Message-ID: <3304116C.3241@cs.com>
References: <5e09nt$m3f AT lion DOT cs DOT latrobe DOT edu DOT au>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp101.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Gregary J Boyles wrote:
> 
> gcc -otest.exe test.c -llibcurs
> d:/djgpp/bin\ld.exe: cannot open -llibcurs.a: No such file or directory (ENOENT)

You aren't using the '-l' parameter properly.  To link 'libcurs.a', use
'-lcurs'.  This is automatically turned into <lib>curs<.a> by the
linker.  In a similar way, 'libm.a' becomes '-lm', 'liballeg.a' becomes
'-lalleg', etc.  There are certain archaic reasons for this format, but
it does help to preserve standard library naming practices.

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---)
O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++
e(*)>++++ h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


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