Mail Archives: djgpp/1996/03/05/16:57:03
Denis Bernard wrote:
>
> Denis Bernard wrote:
> >
> > Help!
> >
> > I have gone back to V1.12m4 to try to compile some windows programs...
> >
> > I installed rsxwdk2 windows development kit on my pc and followed the
> > instructions to install it properly, I think...
> >
> > However, when I try to make a windows executable, I get the error:
> >
> > c:/rsxwdk/lib/libdj/libwin.a: could not read symbols: Memory exhausted
> >
> > when gcc tries to link.
> >
> > I have 16 Mb RAM, 13Mb VCPI and 105 Mb Swap space.
> > libwin.a has 260Kb in size.
> >
> > Can anyone tell me why tris happens and how to correct the problem?
> >
> > And yes, djgpp runs well for my DOS programs
> >
> > Thanks,
> >
> > Denis Bernard.
>
> Found the answer in FAQ 11.5. However, where is ld.exe 1.11m5, since
> this is the one that I need?
>
> Denis.
Well I am so sorry that I have to say this. Nevertheless, it may
interest you that:
I could find no way to make the windows rsx extender work with djgpp
v1.12m4. I did extensive debugging during the weekend just to find that
the "mem exhausted" problem comes from the bfd library...
It seems that at some point during the linking phase, something in memory
gets corrupted and, in the cofflink.c routine coff_link_get_symbols(),
for some reason, "symesz = bfd_coff_symesz (abfd);" returns a NEGATIVE
value !! ? Following is a malloc of that value, trying to get 1.7 gig of
RAM. I don't quite have that much yet, though I'd like to... ;-)
Anyway, for those interested, the extenter work okay with emx 0.9a. I
found a good working copy on URL:
http://godzilla.EECS.Berkeley.EDU/os2/software/shareware/
I sincerely hope that someone fixes rsx to work with djgpp v2 ! ;-) (me,
well, maybe...)
For those who want the extender, it is available on cica.
e.g. : http:/www.cdrom.com/pub/cica/progr(something)/rsxwdk2b.zip
That's it!
Denis Bernard
dbernard AT teleglobe DOT ca
- Raw text -