delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/11/02:45:45

Date: Thu, 11 Jul 1996 09:39:57 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.960711093834.6763B-100000@is>
Mime-Version: 1.0

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.

- Raw text -


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