Mail Archives: djgpp/1998/02/07/08:21:56
On 7 Feb 98, Neither was found to have commented thusly:
> How do I split up functions into files, so that I don't get one huge
> piece of source code? I'm using RHIDE by the way. Thanks for your help
>
If you're familiar with Borland's IDEs, then you are already familiar
with "projects." A project is really a makefile in another form.
Indeed, with RHide you can generate a real makefile using a command
in RHide. Go to the Project menu of RHide and "Open" a project file;
if it does not exist, it should be created. Then "insert" or add
files with the Insert key while the Project window is active. You
can add C/C++ files, but you can also add already-compiled (i.e.,
object files) and even library files (prepared using the 'ar' archive
utility, with the '.a' extension) to the project file. RHide's
linker does the job of resolving all external references.
If you don't know what makefiles are, then you should get the GNU
make package (also in djgpp distribution) and read the 100-page
manual on 'make' by R. Stallman et al.
All of this is, in truth, detailed in R. Hoehne's well-written
documentation that accompanies RHide. Look in the /djgpp/doc/rhide
path of your djgpp distribution, assuming you de-compressed it
correctly while pointing the root of decompression to the djgpp main
directory (both as text file and in html).
Mitch Halloran
Research (Bio)chemist
Duzen Laboratories Group
Ankara TURKEY
mitch AT duzen DOT com DOT tr
other job title: Sequoia's (dob 12-20-95) daddy
- Raw text -