Mail Archives: djgpp/1997/12/02/22:16:12
Brian Sturk wrote:
>
> All of these have worked. However when I try to build within Rhide I
> get no exe no nothing. All I get for errors are "There were errors".
> The command line the source is built with goes by so fast I can't see it
> so I
> can't figure out what the switches are when built. Just for the record,
> I have set up the four directories
> c:\djgpp\lib
> c:\djgpp\include
> c:\djgpp\obj // created for .o
> c:\djgpp\working // for source
Are you sure that you have set up DJGPP correctly? It looks like you
didn't preserve the directory structure when you unzipped it ('-d'
switch with pkunzip, default for unzip386). Your DJGPP tree should at
least look like this:
c:
|-- djgpp
|-- bin
|-- contrib
|-- doc
|-- include
|-- info
|-- lang
|-- cxx
|-- lib
|-- manifest
|-- zoneinfo
Possibly other directories should exist if you have installed more
packages. If your installation tree is incorrect, you should delete all
your files and reinstall them. There is more information on these kinds
of problems in chapters 6 through 8 of the DJGPP Frequently Asked
Questions list (v2/faq210b.zip from SimTel or online at
http://www.delorie.com/djgpp/v2faq/).
Another word of caution: it's a bad idea to use the DJGPP tree for your
own programs. You never know when some update might overwrite your
data, and if you accidentally delete everything, you don't want to lose
your work as well as DJGPP. I recommend creating a separate directory,
such as c:\programs, to hold your own work. If your environment is set
up correctly, you can run DJGPP programs from any working directory.
> editor/debugger. I would appreciate either any help or hints on how to
> troubleshoot this, ie compiler switches for feedback etc.
The best set of switches to use is "-g -Wall -O", because this catches
the vast majority of simple programming mistakes. But this should not
affect your ability to compile programs with RHIDE.
> I also have
> downloaded the verify installation program but haven't run it yet.
> Someone mentioned that it was a beta so I was hesitant. Thanks for any
> help!!
It's perfectly safe to use (I wrote it), but might not work for your
particular problem. My latest work in progress is designed to detect
improperly installed files, so you might be better off using it
instead. DJVERIFY 0.4a is in prerelease testing at the moment, and I'd
like to test it on systems that I know have problems. :) I'd be happy
to send you a copy.
--
---------------------------------------------------------------------
| John M. Aldrich | "A committee is a life form with six |
| aka Fighteer I | or more legs and no brain." |
| mailto:fighteer AT cs DOT com | |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -