www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/24/18:19:01

Date: Sat, 24 Jan 1998 13:19:39 -0800 (PST)
Message-Id: <199801242119.NAA03087@adit.ap.net>
Mime-Version: 1.0
To: hackeroc3 AT aol DOT com (HackerOC3), djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: RHIDE bad command or file name

At 08:39  1/23/1998 GMT, HackerOC3 wrote:
>>I have been using RHIDE and DJGPP for only a couple weeks, and it has worked
>>so
>>far, but now when I compile in RHIDE, it says in the message window, "Bad
>>command or file name," and then on the next line "no errors." When I use step
>>over, it says that I need to at first build a file to use this function.  I
>>don't know why this is doing this.  To my knowledge, I haven't changed any
>>directories or anything.  Has anyone else had this problem?  How do you fix
>>it?
>
>In case anyone is wondering, I fixed this somewhat.  I had my projects in a
>subdirectory of bin, so I just moved the project I was working on to bin and
>compiled it from there.  But now I have a different question:
Bad idea, IMHO.
>
>I compiled and it says no errors, but then it says:
>
>Error: ld.exe: cannot open -lgcc: file in wrong format.
>
>I am aware that ld is the linker, but I have never had this problem before. 
>How can I fix this?
This is caused by your DJGPP environment variable not being set. Read the
README.1ST file again.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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