www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/10/18:30:43

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: lgcc help
Date: Tue, 10 Mar 1998 18:27:37 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 23
Message-ID: <3505CC69.1A0A@cs.com>
References: <01bd4b02$5f570c40$2f626420 AT jesus> <3 DOT 0 DOT 5 DOT 32 DOT 19980310020838 DOT 007f34e0 AT pop DOT iquest DOT net>
NNTP-Posting-Host: ppp213.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ricki Lee King wrote:
> 
> >then options / libraries and add grx to one of the lines and tick the
> >box in rhide.
> >where grx is derived from libgrx.a (not full handel)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> what exactly IS to be typed in here?
> thanks

Official libraries (and most contributed ones) use the format
lib<name>.a.  This allows the standard linker option '-l<name>' to be
used to link the library.  The Libraries screen in RHIDE uses the same
syntax; enter the name of the library without the leading "lib" or the
trailing ".a" and check the box.  Voila!  It'll get linked to your
program at compile time.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I      |   mailto:fighteer AT cs DOT com   |
| God's final message to His Creation: | http://www.cs.com/fighteer/|
| "We apologize for the inconvenience."|     ICQ UIN#:  7406319     |
|                      - Douglas Adams |  http://www.mirabilis.com/ |
---------------------------------------------------------------------

- Raw text -


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