delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/03/13:58:08

Message-ID: <363F4490.CE1EC4DB@nt.com>
Date: Tue, 03 Nov 1998 12:59:44 -0500
From: "Ian Chapman" <Ian DOT Chapman DOT ichapman AT nt DOT com>
Organization: Nortel
X-Mailer: Mozilla 4.06 [en] (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: DJGPP problems
References: <199811030436 DOT UAA07551 AT kendaco DOT telebyte DOT com>
Reply-To: djgpp AT delorie DOT com

Rob,
	try this:-

Additional FAQ for Rhide.
	This is intended for the less sophisticated than the official Rhide
faq.  Here is a good source of general dj stuff to look at
http://www.delorie.com/djgpp/doc/ug/.

Q	Rhide does all sorts of unpredictable and silly things.  I.e. does not
remember the paths and other settings that I give it.
A	Did you start rhide with a project file i.e. invoke rhide with "rhide
projfile".  Rhide needs a place to keep this information.   Then go into
projects tab and select add then follow the dialog to add the  .c or
.cc  file to the project.

Q	I do not generate an .exe file
A	Enter rhide from the dos prompt by "rhide projname", clk project tab
then add and select your Hello.c or hello.cc file.  Then compile and
then link or else build all.  There should be a file projname.exe.

Q	The linker reports multiple int main() in my object file
A	You have more than 1 .c or .cc file in your project with int main()
and the linker does not know where to start the .exe file.

Q	It is not finding the include files *.h.
A	You are not referring to the djgpp distribution *.h files that are
part of the djgpp standard distribution.  If so see djgpp faq.  In rhide
clk the Options tab on top of rhide window, then Directories, then
Include, then add the path to the dot.h files in the text box as
follows: -
"$(DJDIR)/contrib/grx/include; $(DJDIR)/contrib/here/there etc"
This path can also be set in the djgpp.env file see the djgpp
information.

Q	It's still not finding the dot.h files.
A	Invoke Win95 long file names at the command line via 
"rhide -y projname"

Q	How do I set rhide to long file names without -y each time
A	SET LFN=Y.
/*
2.  Go to your djgpp directory, wherever that is.
3.  Open the file "djgpp.env" in your text editor.
4.  Find the line "+LFN=n" and change it to read "+LFN=y"
5.  Save the change, and restart djgpp and/or RHIDE.  */


Q	The linker is not finding various library functions that are in an
extension to djgpp.  For example functions that are part of SWORD
Graphic User Interface or GRX. Graphic Package.
A	Clk the Options tab then Libraries then mark one of the boxes and type
in the Library name that you need i.e. grx for libgrx.a.

Q	It's still not finding the library functions.
A	Go into Options tab on top of the rhide window then Directories then
Libraries, then add the path to the libdot.a files in the text box as
follows: -
"$(DJDIR)/contrib/lib/here/there; $(DJDIR)/contrib/grx/lib"
This can also be set in the djgpp.env file see the djgpp information.

Q	Where is the rhide documentation and how do I read it?
A	My source for Rhide and Gnu documentatiion is "info".  Get the file
txixxxb.zip and unzip it.  Go into dir info and edit the file DIR.  Add
rhide.inf or any other dot.inf to DIR.  Use the same format as the
existing dot.inf files in DIR. It's obvious from the format how to do
this.  Save and exit from the edit session.  Type "info" take the lesson
on how to run info and you are fully equipped to run an old world non
gui browser and are ready to learn all about gnu.


Q	The linker reports out of memory when linking many *.o files.
A	Give dos more memory.
	Quit rhide and dos.  Select the dos icon or its alias (it's in
windows/start/programs) RIGHT click select properties then select memory
tab then set Protected mode DPMI to maximum 65535 and have another go.

Q	I have a big svga monitor and rhide looks like cga screen.  What can I
do to take advantage of my monitor.
A	Set the dos and rhide screens to suite your taste.
	Quit rhide and dos.  Select the dos icon or its alias (it's in
windows/start/programs) RIGHT click select properties then select screen
tab then set the type of screen that you require in dos.  Then get into
rhide and select options tab on the top of the screen then Environment
and then Preferences then set the type of screen to your liking.



Rob Moore wrote:
> 
> Hello,
> I am new at djgpp and the language c.  I am trying to
> compile and execute a simple "hello world" program.  When I
> try to compile the program I get a message that "No include
> path in which to find stdio.h"
> 
> I also tried to use the "h" tutorial from "info" but, it
> indicates that "Info: No such file or directory (ENOENT)"
> 
> Any help would be appreciated
> Thx,
> rob

- Raw text -


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