Mail Archives: djgpp/1998/03/27/22:25:12
Try this and let me know if it helps. Regards Ian.
Additional faq for Rhide.
Q Rhide does all sorts of unpredictable and sill things. Ie does not
remember the paths and other settings that I give it.
A Did you start rhide with a project file ie invoke with "rhide
projfile".
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 report multiple int main() in my object file
A You have more than 1 .c or .cc file in your project with int main()
Q It is not finding the include file dot.h.
A You are not referring to the djgpp dot.h files. If so see djgppfaq.
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 test box.
"$(DJDIR)/contrib/grx/include; $(DJDIR)/contrib/here/there"
This can also be done 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 Ask Robert.
Q The linker is not finding various library functions.
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 dot.a files in the test box.
"$(DJDIR)/contrib/lib/here/there; $(DJDIR)/contrib/grx/lib"
This can also be done in the djgpp.env file see the djgpp information.
Q Where is the rhide.inf how do I read it?
A Go into dir info and edit the file DIR. Add rhide.inf per the other
dot.inf files it's obvious from the format.
Q The linker reports out of memory when linking megagalore dot.o files.
A Quit rhide, quit dos, select the dos icon or its alias(it's in
windows/start/programs) RIGHT click select porperties then select memory
tab then set Protected mode DPMI to 65535 and have another go.
- Raw text -