delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/06/17:49:49

Message-ID: <38ECD3B0.FE8403F8@hotmail.com>
From: Andrew Hakman <hakmana AT hotmail DOT com>
X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linking in .a files from within RHIDE
References: <8ciba7$ttq$1 AT plato DOT wadham DOT ox DOT ac DOT uk>
Lines: 32
Date: Thu, 06 Apr 2000 18:14:14 GMT
NNTP-Posting-Host: 142.13.16.203
X-Trace: typhoon.mbnet.mb.ca 955044854 142.13.16.203 (Thu, 06 Apr 2000 13:14:14 CDT)
NNTP-Posting-Date: Thu, 06 Apr 2000 13:14:14 CDT
Organization: MBnet Networking Inc.
To: djgpp AT Delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

When linking a .a file using RHIDE, if the file has lib???.a, go to
OPTIONS->Libraries, type the name but chop the "lib" and ".a" parts off, then
click the checkbox beside it's name. It should now link in properly.
Example: to include libemu.a   type    emu    and check the box to the left of
it.

Andrew

J-P wrote:

> I am currently using DJGPP v2.something, and am trying to link a .a object
> archive in from the RHIDE development suite.
>
> Linking from the command line works, a bit:
>
> gcc myfile.c ..\lib\libwobble.a -o myfile.exe \\ works
> gcc myfile.c -lwobble -o myfile.exe           \\ doesn't
>
> But I can't seem to get the linking within RHIDE right at all: I put
> ..\lib\libwobble.a as an argument to the compiler, to the linker, as a -l
> argument... I /think/ I've tried every possible option, but I imagine that
> it's just the one I've missed that's the right one :)
>
> Any advice?
>
> thanks,
> J-P
> --
> dear mr bromsgrove,
> thanks v much for sorting out conttrtact.  v clever.  please in voice
> us at your next conveinience. love mr jones, mionistry of defence>

- Raw text -


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