Mail Archives: djgpp/1997/02/14/02:22:28
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 -