Xref: news2.mv.net comp.os.msdos.djgpp:1655 From: Denis Bernard Newsgroups: comp.os.msdos.djgpp Subject: Re: help: cannot run V1.12m4 with rsxwdk2 Date: Tue, 05 Mar 1996 14:08:00 -0500 Organization: Teleglobe Canada Inc. Lines: 65 Message-ID: <313C9110.48FC@teleglobe.ca> References: <31363A5B DOT 3795 AT teleglobe DOT ca> <31371CD6 DOT 4900 AT teleglobe DOT ca> NNTP-Posting-Host: bnet-gw.teleglobe.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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