Date: Thu, 10 Feb 2000 19:25:53 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jean cc: "djgpp AT delorie DOT com" Subject: Re: DJGPP V2.03 versus V2.01 In-Reply-To: <200002101416.PAA26109@smtp.wirehub.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 10 Feb 2000, Jean wrote: > 1.I remade all my library's, and compiled our program, and got a linker error: > multiple define npxsetup.o from libc.a and libwmemu.a Thanks for reporting this. I will try to reproduce this and see what I find. > I looked at the FAQ and saw a note to recompile wmemu21b with the new djgpp. You have an old version of the FAQ; the latest version 2.30 doesn't tell you to recompile WMEMU because wmemu21b.zip was already recompiled with DJGPP v2.03. > 2. The program is 10 % bigger than with V2.01 ( same flags , yes -s flag to ). > Compiled with V2.01 its 1253 KB > Compiled with V2.03 its 1381 KB > I checked the object files and they where all 10 % bigger, so it's an overall increase I don't see how this can be because of the library. Did you also upgrade your compiler and/or Binutils? If so, the problem most certainly is because the compiler generates longer code. The library cannot possibly affect the size of the .o files. > So were back to V2.01 I'm sorry to say I suggest to find out why do the object files get larger. V2.01 is not supported anymore, and new versions of the compiler are incompatible with it. > I only hope the V2.03 malloc > doesn't have a problem with older lib function's ( ctr0 , sbrk etc. ). I don't think there should be problems, but please note that nobody tested the new malloc with v2.01 too seriously. So there's still a chance of problems lurking. > That's it, I hope next version 2.04 will produce a smaller program for a change. > ( flash memory is still expensive ). Unless you find out why do object files get bigger, we won't know what to do. FWIW, I don't see this effect on my machine.