Date: Mon, 24 Apr 1995 07:34:38 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: fine AT cn DOT msm DOT cern DOT ch Subject: Re: LD 2.5.2 doesn't undesrtand "old' libraries Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > C:\CERN\SRC\95A\CFS\KERN>gcc micky.o libkern.a -lf2c -lm > libkern.a: could not read symbols: Memory exhausted > > and no problem with 2.4 (I've just replaced the LD.EXE ONLY!) This was reported before (see the FAQ list, section 8.11). It seems that ld 2.5.2 chokes on large libraries in that way. If you have the source for the functions which are in the library, and have time to spare, it might be useful to try to investigate this further to see if reordering the library or breaking it into two libraries would help, or maybe there is something special in one of the object files which you put there. The last person who had this problem didn't have source to the single object which, when taken out of the library, solved the problem. The main point here is to see whether this is a genuine FSF bug, or something connected to the DJGPP port. If you don't have time, maybe you should report this to the appropriate GNU newsgroup anyway.