Date: Thu, 11 Jul 1996 09:39:57 +0200 (IST) From: Eli Zaretskii To: kagel AT dg1 DOT bloomberg DOT com Cc: lolo AT einev0 DOT einev DOT ch, djgpp AT delorie DOT com Subject: Re: grx20, other question In-Reply-To: <9607101655.AA12312@quasar.bloomberg.com > Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 10 Jul 1996 kagel AT quasar DOT bloomberg DOT com wrote: > No. Try: > > gcc -o myprog.exe myprog.c -L../grx20/lib -lgrx20 > > -L adds a directory to the list of paths that ld searches for libs and -lxxx > specifies that a library named libxxx.a is to be searched for object > resolution. He doesn't need that -Lwhatever switch, because DJGPP.ENV already includes the grx20 directory in the default -L setting. -lgrx20 is all that he needs.