delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/21/12:07:41

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Link problems
Date: 21 Jun 2001 14:20:53 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 33
Message-ID: <9gsvs5$gto$1@antares.lu.erisoft.se>
References: <E0nY6.4349$Q8 DOT 111320 AT juliett DOT dax DOT net>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jean-Marc DAUMONT (daumont AT c2i DOT net) wrote:
: I try to link a library to produce an EXE file. Here is the command line at
: the prompt:
:     gxx demo.c -o demo.exe -libmidas.a
: I get the following error line:
:     f:/djgpp/bin/ld.exe: cannot find -libmidas.a
:     collect 2: ld returned 1 exit status

: I've defined the PATH and DJGPP variables in the 'variables environment
: panel'
: I run Win2000.
: I've also a problem when I try to run RHIDE. I get the message: 'DJDIR has
: not been set .../... '
: When I check the djgpp.env file, I can see that DJDIR is mentioned in it...

: Thanks a lot if you help me. You can answer in FRENCH, NORWEGIAN or ENGLISH
: in order of preference.

French: Il y a une librarie qui s'appelle "libibmidas.a.a"? Peut-etre
il y a une librarie qui s'appelle "libmidas.a"? Si c'est comme ca, il
faut ecrire "-lmidas" pas "-libmidas.a". Je crois.

Svenska: Kan inte norska så du får hålla tillgodo med svenska. Har du
ett bibliotek som heter "libibmidas.a.a"? Kanske du har ett som heter
"libmidas.a". Om det är så måste du skriva ""-lmidas" och inte
"-libmidas.a". Tror jag.

English: Left as an exercise for the other readers.


Right,

						MartinS

- Raw text -


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