From: "Jean-Marc DAUMONT" Newsgroups: comp.os.msdos.djgpp Subject: Link problems Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: Date: Thu, 21 Jun 2001 13:54:44 GMT NNTP-Posting-Host: 193.216.38.208 X-Complaints-To: abuse AT tele2 DOT no X-Trace: juliett.dax.net 993131684 193.216.38.208 (Thu, 21 Jun 2001 15:54:44 MET DST) NNTP-Posting-Date: Thu, 21 Jun 2001 15:54:44 MET DST Organization: Tele2 Norway AS Public Access To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. Jean-Marc DAUMONT, daumont AT c2i DOT net