Mail Archives: djgpp/1998/01/06/08:34:13
On 6 Jan 98, Richard Nichols was found to have commented thusly:
> I've been using RHIDE for about 1 year now but I have always had
> a problem with having too many files in my projects to link.
> I have about 16 object files to link and this surpasses the 128
> characters commandline limit and then the rest gets truncated.
>
> This results in some objects not getting linked or the linker
> getting half a file name and dying. I know I can go to
> project->writemakefile and then make -fmyproj.mak from dos but
> is there are way I can just extend the limit?
>
> any help would be appreciated (and prefered by email)
>
The RHide developers can/will comment on this, but I rather think you
must be talking about something other than RHide. I have projects
with well >16 files and there is no problem in building/making.
In fact, RHide has an execution/action window which displays the
command it is sending to gcc for each compile and then the link,
and for my particular project, it must be nearly 800-900
characters long for just the link!
You are probably invoking gcc from a DOS command line and running
into problems there. Probably if you use the djgpp bash shell rather
than MS-DOS' shell, you will not run up into any limit.
But for your multi-source project, you really need to become familiar
with GNU's make system as ported by the djgpp distribution or you can
use RHide. Using GNU's make can be a real headache, especially if
you are preparing makefiles with MS-DOS edit.com, which has a hard
time keeping tabs. There is also 100 pages of make to read; my hat
is off to Stallman and Co. for such thorough documentation, but for
now, RHide is my style. The IDE is good now, and its developer(s)
show a keen interest in making it the best thing around (God and GNU
forbid they should go commercial :).
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 -