delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/06/14:11:40

From: jstacey AT plato DOT wadham DOT ox DOT ac DOT uk (J-P)
Newsgroups: comp.os.msdos.djgpp
Subject: Linking in .a files from within RHIDE
Date: 6 Apr 2000 16:43:03 +0100
Organization: Wadham College Oxford
Lines: 21
Message-ID: <8ciba7$ttq$1@plato.wadham.ox.ac.uk>
NNTP-Posting-Host: plato.wadham.ox.ac.uk
X-Trace: news.ox.ac.uk 955035784 5124 163.1.164.74 (6 Apr 2000 15:43:04 GMT)
X-Complaints-To: newsmaster AT ox DOT ac DOT uk
NNTP-Posting-Date: 6 Apr 2000 15:43:04 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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